PsQueryTotalCycleTimeProcess - NtDoc

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

ULONG64 PsQueryTotalCycleTimeProcess(
  [in, out] PEPROCESS Process,
  [out]     PULONG64  CycleTimeStamp
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PsQueryTotalCycleTimeProcess function

Description

The PsQueryTotalCycleTimeProcess routine returns the accumulated cycle time for the specified process.

Parameters

Process [in, out]

A pointer to an EPROCESS structure that serves as the kernel object for the process.

CycleTimeStamp [out]

A pointer to a ULONG64 variable to which the routine writes the current cycle counter value for the process.

Return value

PsQueryTotalCycleTimeProcess returns the accumulated cycle time for the specified process.

Remarks

This routine uses the time stamp counter to get the number of processor clock cycles used by the specified process.

See also

EPROCESS