Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4922 Discussions

Calculate how many times is called a function with Vtune?

Eduardo_Mendi
Beginner
223 Views
Hi,

I would like to know How meny times is calculated a function during execution.

With Vtune I get Instructions Retired, CPU_CLK_UNHALTED,... But is It possible to calculate how many times a function is called?

Thanks,

Edu
0 Kudos
1 Reply
TimP
Black Belt
223 Views
I'd use a tool such as gprof which incorporates such counts. The profiling included with Intel compilers (prof_gen) also has such capabilities. VTune call graphing overlaps on some of these functions.
0 Kudos
Reply