Skip to content

TraceSummary

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Summary statistics aggregated from all collected trace events.

public sealed record TraceSummary : IEquatable<TraceSummary>

ObjectTraceSummary

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)

Wall-clock duration of the trace session.

Returns: TimeSpan

public TimeSpan Duration { get; init; }

Event counts grouped by TraceEventCategory.

Returns: IReadOnlyDictionary<TraceEventCategory, Int32>

public IReadOnlyDictionary<TraceEventCategory, int> EventsByCategory { get; init; }

Number of methods JIT-compiled during the trace.

Returns: Int32

public int JittedMethodCount { get; init; }

Peak GC heap size in megabytes.

Returns: Double

public double PeakGcHeapMb { get; init; }

Peak process working set in megabytes.

Returns: Double

public double PeakWorkingSetMb { get; init; }

Total number of events captured during the trace.

Returns: Int32

public int TotalEvents { get; init; }

Total number of exceptions thrown during the trace.

Returns: Int64

public long TotalExceptions { get; init; }

Total number of garbage collections across all generations.

Returns: Int64

public long TotalGcCollections { get; init; }