Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
4557 Discussions

Excluding blocking I/O and synchronization times

Michael_Skrzypczak
89 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
89 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
89 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
89 Views

Thanks Peter for information.

Reply