ClockType enumeration

Defines the clock resolution to use when tracing events.

Syntax


typedef enum  { 
  plaTimeStamp    = 0,
  plaPerformance  = 1,
  plaSystem       = 2,
  plaCycle        = 3
} ClockType;

Constants

plaTimeStamp

Use the raw (unconverted) time stamp.

plaPerformance

Query performance counter. This counter provides a high-resolution (100 nanoseconds) time stamp but is more resource-intensive to retrieve than system time.

plaSystem

System time. The system time provides a low-resolution (10 milliseconds) time stamp but is less resource-intensive to retrieve than the query performance counter.

plaCycle

CPU cycle counter. The CPU counter provides the highest resolution time stamp and is the least resource-intensive to retrieve. However, the CPU counter is unreliable and should not be used in production.

Remarks

For details, see the ClientContext member of the WNODE_HEADER structure.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Pla.h

See also

ITraceDataCollector::ClockType

 

 

Community Additions

ADD
Show:
© 2014 Microsoft