EVT_CHANNEL_CLOCK_TYPE

EVT_CHANNEL_CLOCK_TYPE enumeration

Defines the values that specify the type of time stamp to use when logging events channel.

Syntax


typedef enum  { 
  EvtChannelClockTypeSystemTime  = 0,
  EvtChannelClockTypeQPC         = 1
} EVT_CHANNEL_CLOCK_TYPE;

Constants

EvtChannelClockTypeSystemTime

Uses the system time for the time stamp. The system time provides a low-resolution (10 milliseconds) time stamp but is comparatively less expensive to retrieve. System time is the default. Note that if the volume of events is high, the resolution for system time may not be fine enough to determine the sequence of events. If multiple events contain the same time stamp, the events may be delivered in the wrong order.

EvtChannelClockTypeQPC

Uses the query performance counter (QPC) for the time stamp. The QPC time stamp provides a high-resolution (100 nanoseconds) time stamp but is comparatively more expensive to retrieve. You should use this resolution if you have high event rates or if the consumer merges events from different buffers. Note that on older computers, the time stamp may not be accurate because the counter sometimes skips forward due to hardware errors.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinEvt.h

See also

ChannelType Complex Type
EvtGetChannelConfigProperty
EvtSetChannelConfigProperty
EVT_CHANNEL_CONFIG_PROPERTY_ID

 

 

Community Additions

ADD
Show:
© 2016 Microsoft