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>Inheritance
Section titled “Inheritance”Object → TraceEventEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”Category
Section titled “Category”The event category (JIT, GC, Loader, etc.).
Returns: TraceEventCategory
public TraceEventCategory Category { get; init; }Detail
Section titled “Detail”Human-readable description of the event payload.
Returns: String
public string Detail { get; init; }EventName
Section titled “EventName”Name of the event (e.g., MethodJittingStarted).
Returns: String
public string EventName { get; init; }MetadataToken
Section titled “MetadataToken”Metadata token associated with the event, or 0 if not applicable.
Returns: Int32
public int MetadataToken { get; init; }Timestamp
Section titled “Timestamp”Elapsed time since the trace started.
Returns: TimeSpan
public TimeSpan Timestamp { get; init; }