Deila með


Checkpoint Struct

Definition

Represents an event and the time it occurred relative to a well-known starting point.

public value class Checkpoint : IEquatable<Microsoft::Extensions::Diagnostics::Latency::Checkpoint>
public readonly struct Checkpoint : IEquatable<Microsoft.Extensions.Diagnostics.Latency.Checkpoint>
type Checkpoint = struct
Public Structure Checkpoint
Implements IEquatable(Of Checkpoint)
Inheritance
Checkpoint
Implements

Remarks

Related checkpoints are used to capture when sequential points in time are reached in an operation like request execution. They are measured relative to the start of an operation and hence capture latency as well as operation flow.

Constructors

Checkpoint(String, Int64, Int64)

Initializes a new instance of the Checkpoint struct.

Properties

Elapsed

Gets the relative time since the beginning of the associated operation at which the checkpoint was created.

Frequency

Gets the frequency of the timestamp value.

Name

Gets the name of the checkpoint.

Methods

Equals(Checkpoint)

Determines whether this and a specified checkpoint are identical.

Equals(Object)

Determines whether this and a specified object are identical.

GetHashCode()

Gets a hash code for this object.

Operators

Equality(Checkpoint, Checkpoint)

Equality operator.

Inequality(Checkpoint, Checkpoint)

Inequality operator.

Applies to