Edit

Share via


TraceTimestamp Struct

Definition

Represents a timestamp in a trace.

public struct TraceTimestamp : IComparable, IComparable<Microsoft.Windows.EventTracing.TraceTimestamp>, IEquatable<Microsoft.Windows.EventTracing.TraceTimestamp>
type TraceTimestamp = struct
Public Structure TraceTimestamp
Implements IComparable, IComparable(Of TraceTimestamp), IEquatable(Of TraceTimestamp)
Inheritance
TraceTimestamp
Implements

Constructors

TraceTimestamp(ITraceTimestampContext, TraceTimestampValue)

Properties

Context

Gets the context used to interpret the trace timestamp.

DateTimeOffset

Gets the absolute (clock) time represented by the trace timestamp.

HasValue

Gets a value indicating whether the duration has been initialized.

IsPartial

Gets a value that indicates whether this trace timestamp only represents partial data, and the full Value is unavailable.

Nanoseconds
RelativeTimestamp

Gets the relative time since the start of the trace.

TotalMicroseconds
TotalMilliseconds
TotalSeconds
Value

Gets the raw trace timestamp value.

Methods

CompareTo(Object)
CompareTo(TraceTimestamp)
Equals(Object)
Equals(TraceTimestamp)
GetHashCode()
Max(TraceTimestamp, TraceTimestamp)
Min(TraceTimestamp, TraceTimestamp)

Operators

Addition(TraceTimestamp, TraceDuration)
Equality(TraceTimestamp, TraceTimestamp)
GreaterThan(TraceTimestamp, TraceTimestamp)
GreaterThanOrEqual(TraceTimestamp, TraceTimestamp)
Implicit(TraceTimestamp to Timestamp)
Inequality(TraceTimestamp, TraceTimestamp)
LessThan(TraceTimestamp, TraceTimestamp)
LessThanOrEqual(TraceTimestamp, TraceTimestamp)
Subtraction(TraceTimestamp, TraceDuration)
Subtraction(TraceTimestamp, TraceTimestamp)

Applies to