Class TraceEvent
Definition
Namespace: StardewUI.Framework.Diagnostics
Assembly: StardewUI.dll
Defines a single trace event.
Inheritance
Object ⇦ TraceEvent
Implements
IEquatable<TraceEvent>
Remarks
StardewUI uses only evented profiles, so the data is either for an OpenFrameEvent
or CloseFrameEvent
.
Members
Constructors
Name | Description |
---|---|
TraceEvent(Char, Int64, Int32) | Defines a single trace event. |
Properties
Name | Description |
---|---|
At | Time when the event was logged, in the profile's Unit (i.e. in microseconds for any StardewUI event). |
EqualityContract | |
Frame | Index into the Frames identifying which frame this event refers to. Used to correlate open and close events. |
Type | Discriminator for the event type; 'O' for open frame or 'C' for close. |
Details
Constructors
TraceEvent(char, long, int)
Defines a single trace event.
Parameters
Type
Char
Discriminator for the event type; 'O'
for open frame or 'C'
for close.
At
Int64
Time when the event was logged, in the profile's Unit (i.e. in microseconds for any StardewUI event).
Frame
Int32
Index into the Frames identifying which frame this event refers to. Used to correlate open and close events.
Remarks
StardewUI uses only evented profiles, so the data is either for an OpenFrameEvent
or CloseFrameEvent
.
Properties
At
Time when the event was logged, in the profile's Unit (i.e. in microseconds for any StardewUI event).
Property Value
EqualityContract
Property Value
Frame
Index into the Frames identifying which frame this event refers to. Used to correlate open and close events.
Property Value
Type
Discriminator for the event type; 'O'
for open frame or 'C'
for close.