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

Calculate how many times is called a function with Vtune?

Eduardo_Mendi
Beginner
133 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
133 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.
Reply