Table of Contents

Class ProfilingMessage

Namespace
Stride.Core.Diagnostics
Assembly
Stride.Core.dll

A log message generate by Profiler.

public class ProfilingMessage : LogMessage, ILogMessage
Inheritance
ProfilingMessage
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

profileId int

The profile unique identifier.

profilingKey ProfilingKey

The profile key.

profilingType ProfilingMessageType

Type of the profile.

ProfilingMessage(int, ProfilingKey, ProfilingMessageType, string)

Initializes a new instance of the ProfilingMessage class.

public ProfilingMessage(int profileId, ProfilingKey profilingKey, ProfilingMessageType profilingType, string text)

Parameters

profileId int

The profile unique identifier.

profilingKey ProfilingKey

The profile key.

profilingType ProfilingMessageType

Type of the profile.

text string

The text.

Properties

Attributes

Gets attributes attached to this message. May be null.

public Dictionary<object, object> Attributes { get; set; }

Property Value

Dictionary<object, object>

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.

ProfilingType

Gets the type of the profile.

public ProfilingMessageType ProfilingType { get; }

Property Value

ProfilingMessageType

The type of the profile.

Methods

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.