Controlling the Kernel Profiler by Using the Keyboard on the Target Device (Windows CE 5.0)
You can start and stop the kernel profiler by using the keyboard on the target device. The default keyboard driver supports keys that control the kernel profiler.
The following table shows which function keys to use to control the kernel profiler by using the keyboard on the target device.
Control action | Function key |
---|---|
Toggle between buffered, unbuffered, and CeLog storage modes. For more information about data collection modes for the kernel profiler, see Buffered and Unbuffered Profiling. | F8 |
Run Monte Carlo profiling. For more information about Monte Carlo profiling, see Monte Carlo Profiling. | F9 |
Run instrumented kernel profiling. For more information about instrumented kernel profiling, see Instrumented Kernel Profiling . | F10 |
Run system call profiling. For more information about system call profiling, see System Call Profiling. | F11 |
Stop profiling. | F12 |
The shortcuts that turn profiling on and off are built into the default keyboard layout manager. The Profiler.cpp file at %_WINCEROOT%\Public\Common\OAK\Drivers\Keybd\Laymgr implements the shortcuts. To disable the shortcuts, in the sources file at %_WINCEROOT%\Public\Common\OAK\Drivers\Keybd\Laymgr, under CEDEFINES
, remove -DPROFILE=1
.
For information about the function calls related to the shortcuts, see ProfileStart and ProfileStop.
See Also
Controlling the Kernel Profiler | Kernel Profiler Modes | Keyboard Drivers
Send Feedback on this topic to the authors