Partager via


Instrumented Kernel Profiling (Windows Embedded CE 6.0)

1/5/2010

Instrumented kernel profiling tracks the amount of time spent executing kernel calls. A kernel call is a kernel routine that cannot be preempted. During a kernel call, other threads cannot run. Instrumented kernel profiling computes the minimum, maximum, and average time where preemption is disabled in the kernel. You can characterize the worst-case time that the highest priority real-time thread is kept from running as the worst-case kernel call time in the kernel plus scheduling overhead. Times reported by instrumented kernel profiling do not represent interrupt service routine (ISR) execution times.

Instrumented kernel profiling provides information about the duration of the NextThread kernel call. The duration of the NextThread kernel call is equivalent to the amount of time the kernel spends setting up the interrupt service thread (IST).

You can use instrumented kernel profiling to discover possible worst-case times. Instrumented kernel profiling provides information about latency where an IST is ready to run but is blocked while execution continues within a portion of the kernel where preemption is disabled.

Windows Embedded CE offers other tools to measure the real-time performance of the kernel. For more information, see Real-Time Measurement Tools.

See Also

Concepts

Kernel Profiler Modes
Setting Up the Kernel Profiler

Other Resources

Controlling the Kernel Profiler
Real-Time Performance