I'm using Intel VTune Amplifier XE 2011 to profile my application.
Every time I launched a hotspot analysis on the project from Visual Studio, Amplifer does the analysis and then exits immediately, the results is very trivial.
The problem is that this is a network application, and it basically starts a loop to process requests from another app. What I want to know is whether Amplifer supports attaching to a process without existing immediately, which means it collects data daynamically during the lifetime of the application.
If Amplifer cannot do this, I wonder if Intel provides any other profiler tool for this kind of job?
Thanks for any help on this.
First at all, you have to verify if standalone application or command line can work well.
Secondary, if you attached a process - using hotspots analysis,whichwill do dynamic instrumentation in process memory but thatprocessmight be a service application used by manyapplications. This will cause unexpected result.
That is why we say hotspots analysis isuser-mode sampling. You can use lightweight-hotspots analysis instead (attach-to-process is OK), that will notinstrument runningshared process.
Hope it helps.