Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
2 Views

Can Intel VTune Amplifier XE 2011 profile an application without exiting.

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.

0 Kudos
2 Replies
Highlighted
Employee
2 Views

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.

Regards, Peter

0 Kudos
Highlighted
Beginner
2 Views

Thanks for your reply.

Would you care to explain what dynamic instrumentation means, how it works?
Yes, as you said, using hotspot analysis on my application does generate an exception when the analysis is done.

And how lightweight hotspot analysis works if it doesn't do dynamic instrumentation.

Also, I notices on a couple of occasions that Visual Studio goes unresponsive when I click Start button, and I can see that CPU is running high for a long time without dropping off to normal levels. When this happens,I had to close VS by using task manager.
Is there anyway I can avoid this?
0 Kudos