Table of Contents

Class TraceFileCacheBuilder.BuildResult

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

High-level summary of a cache-build pass. Useful for logging and telemetry.

public record TraceFileCacheBuilder.BuildResult : IEquatable<TraceFileCacheBuilder.BuildResult>
Inheritance
TraceFileCacheBuilder.BuildResult
Implements
Inherited Members

Constructors

BuildResult(int, long, long, int, TimeSpan, string)

High-level summary of a cache-build pass. Useful for logging and telemetry.

public BuildResult(int TickCount, long EventCount, long FoldedCount, int SystemCount, TimeSpan Duration, string CacheFilePath)

Parameters

TickCount int
EventCount long
FoldedCount long
SystemCount int
Duration TimeSpan
CacheFilePath string

BuildResult(BuildResult)

protected BuildResult(TraceFileCacheBuilder.BuildResult original)

Parameters

original TraceFileCacheBuilder.BuildResult

Properties

CacheFilePath

public string CacheFilePath { get; init; }

Property Value

string

Duration

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EventCount

public long EventCount { get; init; }

Property Value

long

FoldedCount

public long FoldedCount { get; init; }

Property Value

long

SystemCount

public int SystemCount { get; init; }

Property Value

int

TickCount

public int TickCount { get; init; }

Property Value

int

Methods

Deconstruct(out int, out long, out long, out int, out TimeSpan, out string)

public void Deconstruct(out int TickCount, out long EventCount, out long FoldedCount, out int SystemCount, out TimeSpan Duration, out string CacheFilePath)

Parameters

TickCount int
EventCount long
FoldedCount long
SystemCount int
Duration TimeSpan
CacheFilePath string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BuildResult?)

public virtual bool Equals(TraceFileCacheBuilder.BuildResult? other)

Parameters

other TraceFileCacheBuilder.BuildResult

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BuildResult?, BuildResult?)

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

Parameters

left TraceFileCacheBuilder.BuildResult
right TraceFileCacheBuilder.BuildResult

Returns

bool

operator !=(BuildResult?, BuildResult?)

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

Parameters

left TraceFileCacheBuilder.BuildResult
right TraceFileCacheBuilder.BuildResult

Returns

bool