Struct ProfilingEvent
- Namespace
- Stride.Core.Diagnostics
- Assembly
- Stride.Core.dll
A profiling event generated by Profiler.
public readonly struct ProfilingEvent- Inherited Members
Constructors
ProfilingEvent(int, ProfilingKey, ProfilingMessageType, TimeSpan, TimeSpan, int, ProfilingEventMessage?, TagList)
Initializes a new instance of the ProfilingEvent struct.
public ProfilingEvent(int profileId, ProfilingKey profilingKey, ProfilingMessageType profilingType, TimeSpan timeStamp, TimeSpan elapsedTime, int threadId, ProfilingEventMessage? message, TagList attributes)Parameters
- profileIdint
- The profile identifier. 
- profilingKeyProfilingKey
- The profiling key. 
- profilingTypeProfilingMessageType
- Type of the profiling. 
- timeStampTimeSpan
- elapsedTimeTimeSpan
- The elapsed time. 
- threadIdint
- messageProfilingEventMessage?
- The message. 
- attributesTagList
- The attributes. 
Fields
Attributes
The attributes
public readonly TagList AttributesField Value
ElapsedTime
The elapsed time since Begin event.
public readonly TimeSpan ElapsedTimeField Value
Id
The unique identifier.
public readonly int IdField Value
Key
The profile key.
public readonly ProfilingKey KeyField Value
Message
The message.
public readonly ProfilingEventMessage? MessageField Value
ThreadId
The thread id.
public readonly int ThreadIdField Value
TimeStamp
The timestamp.
public readonly TimeSpan TimeStampField Value
Type
The type of the profile.
public readonly ProfilingMessageType TypeField Value
Methods
IsGPUEvent()
public bool IsGPUEvent()