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

How basic hotspot analysis is different from advance hotspot analyis

I run the application on intel vtune to extract the information about the functions that are consuming most of the time. Same application running with the basic hotspot analysis and advance hotspot analysis are indicating different functions. Can you please explain me what is the difference between these analyzers and what could be the reason for this behavior. 

Thanks you

0 Kudos
4 Replies
Highlighted
Employee
12 Views

Hello Ayam:

Basic Hotspots is software-based sampling with a default resolution of 10 ms.  Advanced Hotspots is hardware-based sampling with a default resolution of 1 ms.  This resolution difference could account for the difference you are seeing.  However, note, you need to collect samples for a significant amount of time in order for the "sampling" to be representative of what is happening.  Collecting data for only 1 or 2 seconds will result in various results from run to run.

Also note that various controls on the bottom of the page affect how the data is displayed.  For example, the "Call Stack Mode" causes time dat to be aggregated to either the user function, user function plus one level down, or user and system functions.  Ensure that you are using the same mode in both results displays.

0 Kudos
Highlighted
Black Belt
12 Views

As a additional note to what MrAnderson said your sampled code execution time should be more than two full sample period. That's mean more that 2 msec.

0 Kudos
Highlighted
Beginner
12 Views

thanks a lot for the explanation.

0 Kudos
Highlighted
Black Belt
12 Views

You are welcome.

0 Kudos