Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4639 Discussions

mismatch in hotspot in the source code

sid9559
Beginner
125 Views
Hello,

I have been analysing an algorithm and i found a hotspot. when i double click on it to view the source code the time of execution is completely different. Example : the bottom up analysis woould say 300ms and when i go to the source code for it I could see only about 100ms.

Am I looking at it in the wrong way or there is some issue??

regards,
siddharth
0 Kudos
3 Replies
Jackson_M_Intel
Employee
125 Views
Hello,

The bottom up view may show the time on a per function basis (depending on the grouping) and the source may be showing a per source line basis.You may need to sum all the lines in the function.

Could you attach the 2 screenshots you are refering to?
sid9559
Beginner
125 Views
Hello Jackson,

The sum of the active source is turning up to be less then the total shown in the hotspot analysis. I will upload the screenshots as I get to my lab.

regards,
siddharth
Jackson_M_Intel
Employee
125 Views
Hello,

Have you been able to get those screenshots?

Thanks.
Reply