[英]CPU Sampling in VS2010 via Attach To Process?
Is is possible to perform CPU Sampling in VS2010 via the Attach To Process option? 是否可以通过“附加到进程”选项在VS2010中执行CPU采样? When I do use that option it seems to always default to Memory Profiling.
当我使用该选项时,它似乎总是默认为“内存分析”。 I can't launch CPU Sampling with the wizard because the ridiculous security software on our work PCs don't allow the DLL injection it uses.
我无法使用该向导启动CPU采样,因为我们工作PC上的荒谬安全软件不允许它使用DLL注入。
If you select Analyze\\Profiler\\New Performance Session , the Performance Explorer will open with a new performance session. 如果选择Analyze \\ Profiler \\ New Performance Session ,那么Performance Explorer将打开并显示一个新的性能会话。 In the properties of this item, you can specify the type of profiling you want to use:
在此项的属性中,您可以指定要使用的分析类型:
You can then attach this session to your process via "Attach/Detach" in the session's context menu: 然后,您可以通过会话上下文菜单中的“附加/分离”将此会话附加到您的进程中:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.