ITraceTimestampContext.GetRelativeTimestamp(TraceTimestampValue) Method

Definition

Gets a trace-relative timestamp from an original timestamp in an event header or payload.

public Microsoft.Windows.EventTracing.Timestamp GetRelativeTimestamp (Microsoft.Windows.EventTracing.TraceTimestampValue traceTimestampValue);
abstract member GetRelativeTimestamp : Microsoft.Windows.EventTracing.TraceTimestampValue -> Microsoft.Windows.EventTracing.Timestamp

Parameters

traceTimestampValue
TraceTimestampValue

The original timestamp value from the event header or payload.

Returns

A trace-relative timestamp.

Remarks

The precision of Timestamp is nanoseconds, which is usually less than a TraceTimestampValue.

Applies to