Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[in] Thread
Pointer to a dispatcher object of type KTHREAD.
[out] UserTime
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
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows XP. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm) |