ITraceTimestampContext Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the context needed to interpret a TraceTimestampValue.
public interface ITraceTimestampContext
type ITraceTimestampContext = interface
Public Interface ITraceTimestampContext
Properties
ClockType |
Gets the clock type used by the trace. |
IsPartial |
Gets a value that indicates whether the context is being used with a trace timestamp that is only accurate to nanoseconds, and a full TraceTimestampValue value is not available. |
ReferenceTime |
Gets an absolute time that is know to match up exactly with the ReferenceValue. |
ReferenceValue |
Gets an original timestamp value that is known to match up exactly with the ReferenceTime. |
Methods
GetApproximateValue(Timestamp) |
Gets a TraceTimestampValue that approximates a Timestamp within the trace. |
GetDateTimeOffset(TraceTimestampValue) |
Gets the absolute clock time for an original timestamp in an event header or payload. |
GetRelativeTimestamp(TraceTimestampValue) |
Gets a trace-relative timestamp from an original timestamp in an event header or payload. |