Table of Contents

Struct TraceFileCacheBuilder.BuildProgress

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Single progress snapshot emitted during a cache build. Emitted at tick boundaries, throttled to at most one per ~200 ms.

public readonly struct TraceFileCacheBuilder.BuildProgress : IEquatable<TraceFileCacheBuilder.BuildProgress>
Implements
Inherited Members

Constructors

BuildProgress(long, long, int, long)

Single progress snapshot emitted during a cache build. Emitted at tick boundaries, throttled to at most one per ~200 ms.

public BuildProgress(long BytesRead, long TotalBytes, int TickCount, long EventCount)

Parameters

BytesRead long
TotalBytes long
TickCount int
EventCount long

Properties

BytesRead

public long BytesRead { get; init; }

Property Value

long

EventCount

public long EventCount { get; init; }

Property Value

long

TickCount

public int TickCount { get; init; }

Property Value

int

TotalBytes

public long TotalBytes { get; init; }

Property Value

long

Methods

Deconstruct(out long, out long, out int, out long)

public void Deconstruct(out long BytesRead, out long TotalBytes, out int TickCount, out long EventCount)

Parameters

BytesRead long
TotalBytes long
TickCount int
EventCount long

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(BuildProgress)

public bool Equals(TraceFileCacheBuilder.BuildProgress other)

Parameters

other TraceFileCacheBuilder.BuildProgress

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BuildProgress, BuildProgress)

public static bool operator ==(TraceFileCacheBuilder.BuildProgress left, TraceFileCacheBuilder.BuildProgress right)

Parameters

left TraceFileCacheBuilder.BuildProgress
right TraceFileCacheBuilder.BuildProgress

Returns

bool

operator !=(BuildProgress, BuildProgress)

public static bool operator !=(TraceFileCacheBuilder.BuildProgress left, TraceFileCacheBuilder.BuildProgress right)

Parameters

left TraceFileCacheBuilder.BuildProgress
right TraceFileCacheBuilder.BuildProgress

Returns

bool