Compartilhar via


Controlling the Kernel Profiler by Using the prof Command (Windows CE 5.0)

Send Feedback

In the Target Control window or a command prompt window, you can use the prof command to control the kernel profiler. For more information about the prof command, see Target Control Debugging Commands.

To start the kernel profiler by using the prof command

  1. At the Windows CE prompt, type one of the following commands:

    • prof on -m

      This command runs the kernel profiler in Monte Carlo profiling mode. For more information about Monte Carlo profiling, see Monte Carlo Profiling.

    • prof on -s

      This command runs the kernel profiler in system call profiling mode. For more information about system call profiling, see System Call Profiling.

    • prof on -k

      This command runs the kernel profiler in instrumented kernel profiling mode. For more information about instrumented kernel profiling, see Instrumented Kernel Profiling.

  2. Append the -b option to run the kernel profiler in buffered mode

    - or -

    Append the -u option to run the kernel profiler in unbuffered mode.

    If you do not append the -b option or the -u option, the kernel profiler runs in buffered mode. For more information about buffered and unbuffered mode, see Buffered and Unbuffered Profiling.

  3. Press the ENTER key.

To stop the kernel profiler by using the prof command

  • At the Windows CE prompt, type prof off, and then press the ENTER key.

See Also

Controlling the Kernel Profiler | Kernel Profiler Modes

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.