KeQueryTotalCycleTimeThread function (wdm.h)

The KeQueryTotalCycleTimeThread routine returns the accumulated cycle time for the specified thread.

Syntax

ULONG64 KeQueryTotalCycleTimeThread(
  [in, out] PKTHREAD Thread,
  [out]     PULONG64 CycleTimeStamp
);

Parameters

[in, out] Thread

A pointer to a dispatcher object of type KTHREAD.

[out] CycleTimeStamp

A pointer to the cycle counter value at the time of the query.

Return value

The accumulated cycle time for the thread.

Requirements

Requirement Value
Minimum supported client Available in Windows 8 and later versions of Windows.
Target Platform Universal
Header wdm.h