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

Excluding blocking I/O and synchronization times

Michael_Skrzypczak
135 Views

I'm working on a realtime app. This application suspends itself using SleepEx() or WaitForSingleObject(). When I profile it with vTune, the functions that call those system calls show up as taking the most CPU time as well as retiring a lot of instructions relative things like digital signal processing functions.

Is there a way to get a view that ignores blocking calls of any kind? (i/o, synchronization primitives, etc)

0 Kudos
3 Replies
Bernard
Black Belt
135 Views

Can you profile your application with Xperf.If you are concerned with the cpu time spent while calling synchronization functions.

Peter_W_Intel
Employee
135 Views

If you wont see SleepEx(), i/o wait, sync objects in your report, you can do one of below:

1. In report, set "Only user function" in Call Stack mode. Thus, all functions in system/kernel dlls will NOT be displayed.

2. Specify (select) your interest of module instead of "ANY" in module combo box, in report. Thus, only hot functions in this module will be displayed. 

Bernard
Black Belt
135 Views

Thanks Peter for information.

Reply