Struct ProfilingEvent
- Namespace
- Stride.Core.Diagnostics
- Assembly
- Stride.Core.dll
A profiling event generated by Profiler.
public struct ProfilingEvent
- Inherited Members
- Extension Methods
Constructors
ProfilingEvent(int, ProfilingKey, ProfilingMessageType, long, long, string, Dictionary<object, object>, ProfilingCustomValue?, ProfilingCustomValue?, ProfilingCustomValue?, ProfilingCustomValue?)
Initializes a new instance of the ProfilingEvent struct.
public ProfilingEvent(int profileId, ProfilingKey profilingKey, ProfilingMessageType profilingType, long timeStamp, long elapsedTime, string text, Dictionary<object, object> attributes, ProfilingCustomValue? value0 = null, ProfilingCustomValue? value1 = null, ProfilingCustomValue? value2 = null, ProfilingCustomValue? value3 = null)
Parameters
profileIdintThe profile identifier.
profilingKeyProfilingKeyThe profiling key.
profilingTypeProfilingMessageTypeType of the profiling.
timeStamplongelapsedTimelongThe elapsed time.
textstringThe text.
attributesDictionary<object, object>The attributes.
value0ProfilingCustomValue?value1ProfilingCustomValue?value2ProfilingCustomValue?value3ProfilingCustomValue?
Fields
Attributes
The attributes
public readonly Dictionary<object, object> Attributes
Field Value
Custom0
public readonly ProfilingCustomValue? Custom0
Field Value
Custom1
public readonly ProfilingCustomValue? Custom1
Field Value
Custom2
public readonly ProfilingCustomValue? Custom2
Field Value
Custom3
public readonly ProfilingCustomValue? Custom3
Field Value
ElapsedTime
The elapsed time since Begin event.
public readonly long ElapsedTime
Field Value
Id
The unique identifier.
public readonly int Id
Field Value
Key
The profile key.
public readonly ProfilingKey Key
Field Value
Text
The text.
public readonly string Text
Field Value
TimeStamp
The timestamp.
public readonly long TimeStamp
Field Value
Type
The type of the profile.
public readonly ProfilingMessageType Type