Skip to content

TraceEventEntry

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A single traced runtime event captured from the EventPipe session.

public sealed record TraceEventEntry : IEquatable<TraceEventEntry>

ObjectTraceEventEntry

TraceEventEntry(TimeSpan, TraceEventCategory, string, string, int)

Section titled “TraceEventEntry(TimeSpan, TraceEventCategory, string, string, int)”

A single traced runtime event captured from the EventPipe session.

Parameters:

  • Timestamp (TimeSpan): Elapsed time since the trace started.
  • Category (TraceEventCategory): The event category (JIT, GC, Loader, etc.).
  • EventName (String): Name of the event (e.g., MethodJittingStarted).
  • Detail (String): Human-readable description of the event payload.
  • MetadataToken (Int32): Metadata token associated with the event, or 0 if not applicable.
public TraceEventEntry(TimeSpan Timestamp, TraceEventCategory Category, string EventName, string Detail, int MetadataToken = 0)

The event category (JIT, GC, Loader, etc.).

Returns: TraceEventCategory

public TraceEventCategory Category { get; init; }

Human-readable description of the event payload.

Returns: String

public string Detail { get; init; }

Name of the event (e.g., MethodJittingStarted).

Returns: String

public string EventName { get; init; }

Metadata token associated with the event, or 0 if not applicable.

Returns: Int32

public int MetadataToken { get; init; }

Elapsed time since the trace started.

Returns: TimeSpan

public TimeSpan Timestamp { get; init; }