Class TraceFileCacheBuilder.BuildResult
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
TickCountintEventCountlongFoldedCountlongSystemCountintDurationTimeSpanCacheFilePathstring
BuildResult(BuildResult)
protected BuildResult(TraceFileCacheBuilder.BuildResult original)
Parameters
originalTraceFileCacheBuilder.BuildResult
Properties
CacheFilePath
public string CacheFilePath { get; init; }
Property Value
Duration
public TimeSpan Duration { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
EventCount
public long EventCount { get; init; }
Property Value
FoldedCount
public long FoldedCount { get; init; }
Property Value
SystemCount
public int SystemCount { get; init; }
Property Value
TickCount
public int TickCount { get; init; }
Property Value
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
TickCountintEventCountlongFoldedCountlongSystemCountintDurationTimeSpanCacheFilePathstring
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BuildResult?)
public virtual bool Equals(TraceFileCacheBuilder.BuildResult? other)
Parameters
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BuildResult?, BuildResult?)
public static bool operator ==(TraceFileCacheBuilder.BuildResult? left, TraceFileCacheBuilder.BuildResult? right)
Parameters
Returns
operator !=(BuildResult?, BuildResult?)
public static bool operator !=(TraceFileCacheBuilder.BuildResult? left, TraceFileCacheBuilder.BuildResult? right)