KSCORRELATED_TIME structure (ks.h)

The KSCORRELATED_TIME structure contains a clock time as well as the corresponding number of clock ticks since system boot.

Syntax

typedef struct {
  LONGLONG Time;
  LONGLONG SystemTime;
} KSCORRELATED_TIME, *PKSCORRELATED_TIME;

Members

Time

Specifies the current clock time in 100-nanosecond units.

SystemTime

A 64-bit integer containing the number of clock ticks since system boot.

Remarks

Supply this structure in a KSPROPERTY_CLOCK_CORRELATEDTIME property request.

The system time is acquired from KeQueryPerformanceCounter. Note that the performance counter is not suspended when the machine is suspended, so that correlations change when the machine goes through a suspend.

Requirements

Requirement Value
Header ks.h (include Ks.h)

See also

KSPROPERTY_CLOCK_CORRELATEDTIME

KeQueryPerformanceCounter