TraceSummary
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Summary statistics aggregated from all collected trace events.
public sealed record TraceSummary : IEquatable<TraceSummary>Inheritance
Section titled “Inheritance”Object → TraceSummary
Implements
Section titled “Implements”Constructors
Section titled “Constructors”TraceSummary(int, IReadOnlyDictionary<TraceEventCategory, int>, TimeSpan, double, double, long, long, int)
Section titled “TraceSummary(int, IReadOnlyDictionary<TraceEventCategory, int>, TimeSpan, double, double, long, long, int)”Summary statistics aggregated from all collected trace events.
Parameters:
TotalEvents(Int32): Total number of events captured during the trace.EventsByCategory(IReadOnlyDictionary<TraceEventCategory, Int32>): Event counts grouped by TraceEventCategory.Duration(TimeSpan): Wall-clock duration of the trace session.PeakWorkingSetMb(Double): Peak process working set in megabytes.PeakGcHeapMb(Double): Peak GC heap size in megabytes.TotalExceptions(Int64): Total number of exceptions thrown during the trace.TotalGcCollections(Int64): Total number of garbage collections across all generations.JittedMethodCount(Int32): Number of methods JIT-compiled during the trace.
public TraceSummary(int TotalEvents, IReadOnlyDictionary<TraceEventCategory, int> EventsByCategory, TimeSpan Duration, double PeakWorkingSetMb, double PeakGcHeapMb, long TotalExceptions, long TotalGcCollections, int JittedMethodCount)Properties
Section titled “Properties”Duration
Section titled “Duration”Wall-clock duration of the trace session.
Returns: TimeSpan
public TimeSpan Duration { get; init; }EventsByCategory
Section titled “EventsByCategory”Event counts grouped by TraceEventCategory.
Returns: IReadOnlyDictionary<TraceEventCategory, Int32>
public IReadOnlyDictionary<TraceEventCategory, int> EventsByCategory { get; init; }JittedMethodCount
Section titled “JittedMethodCount”Number of methods JIT-compiled during the trace.
Returns: Int32
public int JittedMethodCount { get; init; }PeakGcHeapMb
Section titled “PeakGcHeapMb”Peak GC heap size in megabytes.
Returns: Double
public double PeakGcHeapMb { get; init; }PeakWorkingSetMb
Section titled “PeakWorkingSetMb”Peak process working set in megabytes.
Returns: Double
public double PeakWorkingSetMb { get; init; }TotalEvents
Section titled “TotalEvents”Total number of events captured during the trace.
Returns: Int32
public int TotalEvents { get; init; }TotalExceptions
Section titled “TotalExceptions”Total number of exceptions thrown during the trace.
Returns: Int64
public long TotalExceptions { get; init; }TotalGcCollections
Section titled “TotalGcCollections”Total number of garbage collections across all generations.
Returns: Int64
public long TotalGcCollections { get; init; }Methods
Section titled “Methods”Deconstruct(out int, out IReadOnlyDictionary<TraceEventCategory, int>, out TimeSpan, out double, out double, out long, out long, out int)
Section titled “Deconstruct(out int, out IReadOnlyDictionary<TraceEventCategory, int>, out TimeSpan, out double, out double, out long, out long, out int)”Parameters:
TotalEvents(Int32)EventsByCategory(IReadOnlyDictionary<TraceEventCategory, Int32>)Duration(TimeSpan)PeakWorkingSetMb(Double)PeakGcHeapMb(Double)TotalExceptions(Int64)TotalGcCollections(Int64)JittedMethodCount(Int32)
public void Deconstruct(out int TotalEvents, out IReadOnlyDictionary<TraceEventCategory, int> EventsByCategory, out TimeSpan Duration, out double PeakWorkingSetMb, out double PeakGcHeapMb, out long TotalExceptions, out long TotalGcCollections, out int JittedMethodCount)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(TraceSummary?)
Section titled “Equals(TraceSummary?)”Parameters:
other(TraceSummary)
Returns: Boolean
public bool Equals(TraceSummary? other)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(TraceSummary?, TraceSummary?)
Section titled “operator !=(TraceSummary?, TraceSummary?)”Parameters:
left(TraceSummary)right(TraceSummary)
Returns: Boolean
public static bool operator !=(TraceSummary? left, TraceSummary? right)operator ==(TraceSummary?, TraceSummary?)
Section titled “operator ==(TraceSummary?, TraceSummary?)”Parameters:
left(TraceSummary)right(TraceSummary)
Returns: Boolean
public static bool operator ==(TraceSummary? left, TraceSummary? right)