Class ProfilingMessage
- Namespace
- Stride.Core.Diagnostics
- Assembly
- Stride.Core.dll
A log message generate by Profiler.
public class ProfilingMessage : LogMessage, ILogMessage- Inheritance
- 
      objectProfilingMessage
- Implements
- Inherited Members
- Extension Methods
Constructors
ProfilingMessage(int, ProfilingKey, ProfilingMessageType)
Initializes a new instance of the ProfilingMessage class.
public ProfilingMessage(int profileId, ProfilingKey profilingKey, ProfilingMessageType profilingType)Parameters
- profileIdint
- The profile unique identifier. 
- profilingKeyProfilingKey
- The profile key. 
- profilingTypeProfilingMessageType
- Type of the profile. 
ProfilingMessage(int, ProfilingKey, ProfilingMessageType, ProfilingEventMessage?)
Initializes a new instance of the ProfilingMessage class.
public ProfilingMessage(int profileId, ProfilingKey profilingKey, ProfilingMessageType profilingType, ProfilingEventMessage? message)Parameters
- profileIdint
- The profile unique identifier. 
- profilingKeyProfilingKey
- The profile key. 
- profilingTypeProfilingMessageType
- Type of the profile. 
- messageProfilingEventMessage?
Properties
Attributes
Gets attributes attached to this message. May be null.
public TagList Attributes { get; set; }Property Value
- TagList
- The properties. 
ElapsedTime
Gets or sets the time elapsed for this particular profile.
public TimeSpan ElapsedTime { get; set; }Property Value
- TimeSpan
- The elapsed. 
Id
Gets or sets the unique identifier associated with this profile message.
public int Id { get; }Property Value
- int
- The unique identifier. 
Key
Gets or sets the profile key.
public ProfilingKey Key { get; }Property Value
- ProfilingKey
- The profile key. 
Message
Event message.
public ProfilingEventMessage? Message { get; }Property Value
ProfilingType
Gets the type of the profile.
public ProfilingMessageType ProfilingType { get; }Property Value
- ProfilingMessageType
- The type of the profile. 
Text
Text of the log.
public override string Text { get; set; }Property Value
Methods
ToString()
Returns a string that represents this instance.
public override string ToString()