Class TraceProfile
Definition
Namespace: StardewUI.Framework.Diagnostics
Assembly: StardewUI.dll
A single profile in a trace.
Inheritance
Object ⇦ TraceProfile
Remarks
For speedscope purposes, this is always an "EventedProfile". StardewUI does not use sampled profiles.
Members
Constructors
Name | Description |
---|---|
TraceProfile(string, Int64) | A single profile in a trace. |
Properties
Name | Description |
---|---|
EndValue | The timestamp when tracing ended, in the specified Unit. |
Events | The events recorded for this profile. |
Name | Name of the profile. Used to identify the thread. |
StartValue | The timestamp when tracing was started, in the specified Unit. |
Type | Discriminator for the profile type. In StardewUI, this is always evented . |
Unit | Unit of measurement for all time values. |
Details
Constructors
TraceProfile(string, long)
A single profile in a trace.
Parameters
name
string
The Name of the profile, used to identify the thread.
startValue
Int64
The timestamp when tracing was started, in the specified Unit (default: microseconds).
Remarks
For speedscope purposes, this is always an "EventedProfile". StardewUI does not use sampled profiles.
Properties
EndValue
The timestamp when tracing ended, in the specified Unit.
Property Value
Events
The events recorded for this profile.
Property Value
Name
Name of the profile. Used to identify the thread.
Property Value
StartValue
The timestamp when tracing was started, in the specified Unit.
Property Value
Type
Discriminator for the profile type. In StardewUI, this is always evented
.
Property Value
Unit
Unit of measurement for all time values.
Property Value
Remarks
StardewUI's traces are always measured in microseconds
.