Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
4752 Discussions

VTune CPU time for performance-snapshot vs hotspot analysis

bruceh
Beginner
447 Views

I am trying to use VTune to measure CPU time for our tests on Windows so that we can store it in a database and detect any significant increases with code changes.

Given one test, I ran it from the command line and it returns within a couple seconds.  When I run a performance-snapshot analysis on the same test, it also reports an "Elapsed Time" of 1.333s.  But when I run a hotspots analysis, the "Elapsed Time" jumps to 69.441s and the "CPU Time" is reported as 67.015s.

What could cause this huge difference?

Thanks

Labels (1)
0 Kudos
3 Replies
JananiC_Intel
Moderator
427 Views

Hi,


Thanks for posting in Intel forums.


Could you share the sample reproducer so that we can try from our end?


Regards,

Janani Chandran


bruceh
Beginner
387 Views

I'm afraid I cannot provide the test itself because it has proprietary information.  I can provide the vtune output files for the two runs if that helps?

Thanks

Bruce

JananiC_Intel
Moderator
328 Views

Hi,


Thanks for the update.


We are working on this internally. We will get back to you soon.


Regards,

Janani Chandran


Reply