Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4974 Discussions

I want to know how long a function is taking in one frame

Dominic_C_
Beginner
235 Views

Hi,

Pretty simple question.

I have put frame markers in using the API, so I can see the frames in the timeline view.

All I want to do is pick a frame (any frame) in the timeline, zoom in on selection, and then search for a function to see how long that function took in that frame. The function in question is not particularly slow, but I do want to know how long it's taking.

I don't seem to be able to do this easily

Thanks

0 Kudos
1 Reply
Dmitry_P_Intel1
Employee
235 Views

Hello,

You can select the frame on timeline on the ruler area (the time region that corresponds the frame should be a bit greyed-out) then invoke context menu (right mouse button click) and choose "Filter-in by Selection". Then in bottom up grid view with grouping "/Function/..." you can try to find the function of interest and see its CPU time that will be filtered by time spent in this frame.

Thanks & Regards, Dmitry

 

0 Kudos
Reply