Căt*_*tiș 13 c++ profiling visual-studio-2010
我试图在Visual Studio 2010中测量控制台应用程序项目的某些功能和方法的性能.
我将分析方法配置为检测.问题是性能监视器不起作用.我得到输出的消息是:
Profiling started.
Instrumenting w:\MyProject\ProfilingTest\Build\Debug\ProfilingTest.exe in place
Info VSP3049: Small functions will be excluded from instrumentation.
Microsoft (R) VSInstr Post-Link Instrumentation 10.0.40219 x64
Copyright (C) Microsoft Corp. All rights reserved.
File to Process:
w:\MyProject\ProfilingTest\Build\Debug\ProfilingTest.exe --> w:\MyProject\ProfilingTest\Build\Debug\ProfilingTest.exe
Original file backed up to w:\MyProject\ProfilingTest\Build\Debug\ProfilingTest.exe.orig
Successfully instrumented file w:\MyProject\ProfilingTest\Build\Debug\ProfilingTest.exe.
The process cannot access the file 'w:\MyProject\ProfilingTest\Build\Debug\ProfilingTest.exe' because it is being used by another process.
Data written to w:\MyProject\ProfilingTest\ProfilingTest110611(17).vsp.
Profiling finished.
File contains no data buffers
File contains no data buffers
Analysis failed
The process cannot access the file 'w:\MyProject\ProfilingTest\Build\Debug\ProfilingTest.exe' because it is being used by another process.
Profiling complete.
Run Code Online (Sandbox Code Playgroud)
我认为"万恶之源"是: 进程无法访问文件'...',因为它正被另一个进程使用.
是否有人在尝试剖析在Visual Studio 2010中开发的本机应用程序并解决它们时遇到了这样的问题?
稍后添加: 如果,而不是选择要分析的项目,我直接选择构建的可执行文件,我成功分析,没有接收进程阻止,我甚至收到了文件分析.但是,监视应用程序在分析结束时崩溃.我怀疑与IDE有关,但我无法确定.
| 归档时间: |
|
| 查看次数: |
4912 次 |
| 最近记录: |