KeQueryRuntimeThread - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

ULONG KeQueryRuntimeThread(
  [in]  PKTHREAD Thread,
  [out] PULONG   UserTime
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-kequeryruntimethread)

KeQueryRuntimeThread function

Description

The KeQueryRuntimeThread routine reports the accumulated kernel-mode and user-mode run time of a thread, in clock ticks.

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.

See also

KeQueryTimeIncrement