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

milliseconds vs clockticks

I've been using VTune to monitor the clockticks of various functions in order to do some performance tuning. I'd now like to time the functions but I'm confused as to how to interpret the results portrayed by VTune. I can change the sampling from event to OS timer, run the analysis, drill downand see the bar graph info for the various functions, but I can't see anywhere on the screen where it lists the actual milliseconds used for each function. Where is this information displayed? Thanks in advance everyone!
0 Kudos
1 Reply
Highlighted
Employee
10 Views

Lionel:

You need to use Call Graph to get function timing information. Sampling is only statistical analysis. It represents the relative activity of the code. It does not report actual timing information, regardless of the mechanism used to collect the samples.

Call graph, however, can report function timings, since the code is instrumented to collect this information. However, it is still not 100% accurate, since there is overhead in the calculations. This is taken into account, but cannot be 100% accurate.
0 Kudos