Skip to main content

Struct FrameStats

Namespace: VelloSharp.ChartDiagnostics
Assembly: VelloSharp.ChartDiagnostics.dll

Captures per-frame latency information.

public readonly record struct FrameStats : IEquatable<FrameStats>

Implements

IEquatable<FrameStats>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

FrameStats(TimeSpan, TimeSpan, TimeSpan, int, DateTimeOffset)

Captures per-frame latency information.

public FrameStats(TimeSpan CpuTime, TimeSpan GpuTime, TimeSpan QueueLatency, int EncodedPaths, DateTimeOffset Timestamp)

Parameters

CpuTime TimeSpan

GpuTime TimeSpan

QueueLatency TimeSpan

EncodedPaths int

Timestamp DateTimeOffset

Properties

CpuTime

public TimeSpan CpuTime { get; init; }

Property Value

TimeSpan

EncodedPaths

public int EncodedPaths { get; init; }

Property Value

int

GpuTime

public TimeSpan GpuTime { get; init; }

Property Value

TimeSpan

QueueLatency

public TimeSpan QueueLatency { get; init; }

Property Value

TimeSpan

Timestamp

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset