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

Issues With V-Tune not resolving source properly.

vetroxl
Beginner
144 Views
Hi,
Intel v-tune cannot seem to resolve the function source code.
I get something like this;
fucntion_hot_spot() xxxx ms
but it does not expand on this.
0 Kudos
1 Solution
Peter_W_Intel
Employee
144 Views
I guess that you want to know hot line(s) in DVQuantizer::encodeBlock()
BecauseDVQuantizer::encodeBlock is called in deep loop, it might be compiled by inlined function if you specified optmization options. It means CPU time ofDVQuantizer::encodeBlock wat counted in functionDVQuantizer::encode().
If you use Intel C++ compiler, please read this article to solve this problem.
Otherwise, you can use assembly view, to find associated (hot) instructions inDVQuantizer::encodeBlock
Thanks, Peter

View solution in original post

4 Replies
Peter_W_Intel
Employee
144 Views
I can't see your screen shot and I suppose that you have to check - if you built your binary with symbol info.

Secondary, if you already have symbol info - regarding that you said "function_hot_spots() xxx ms" - probably you haveset your source search directories in project properties (ifsource file is located at different directory of binary), and do Re-resolving on existing result.

Good luck.

Regards, Peter
vetroxl
Beginner
144 Views
Hi,
I have made sure that the /Zi and /DEBUG are specified. It does not matter what analysis I use, always the same result.
Here is a shot
Peter_W_Intel
Employee
145 Views
I guess that you want to know hot line(s) in DVQuantizer::encodeBlock()
BecauseDVQuantizer::encodeBlock is called in deep loop, it might be compiled by inlined function if you specified optmization options. It means CPU time ofDVQuantizer::encodeBlock wat counted in functionDVQuantizer::encode().
If you use Intel C++ compiler, please read this article to solve this problem.
Otherwise, you can use assembly view, to find associated (hot) instructions inDVQuantizer::encodeBlock
Thanks, Peter
vetroxl
Beginner
144 Views
Thanks, following that article resolved my issues.
Reply