KeQueryRuntimeThread routine
The KeQueryRuntimeThread routine reports the accumulated kernel-mode and user-mode run time of a thread, in clock ticks.
Syntax
ULONG KeQueryRuntimeThread( _In_ PKTHREAD Thread, _Out_ PULONG UserTime );
Parameters
- Thread [in]
-
Pointer to a dispatcher object of type KTHREAD.
- UserTime [out]
-
Pointer to the memory location where KeQueryRuntimeThread returns the accumulated user-mode run time of the current thread, in clock ticks.
Return value
KeQueryRuntimeThread returns the accumulated kernel-mode run time of the current thread, in clock ticks.
Requirements
|
Version | Available starting with Windows XP. |
|---|---|
|
Header |
|
|
Library |
|
|
IRQL | PASSIVE_LEVEL |
|
DDI compliance rules | PowerIrpDDis, HwStorPortProhibitedDDIs |
See also
Send comments about this topic to Microsoft
Build date: 5/22/2013