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; }