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

Excluding blocking I/O and synchronization times

Michael_Skrzypczak
516 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
Valued Contributor I
516 Views

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

0 Kudos
Peter_W_Intel
Employee
516 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. 

0 Kudos
Bernard
Valued Contributor I
516 Views

Thanks Peter for information.

0 Kudos
Reply