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, ProfilingEventMessage?)

Initializes a new instance of the ProfilingMessage class.

public ProfilingMessage(int profileId, ProfilingKey profilingKey, ProfilingMessageType profilingType, ProfilingEventMessage? message)

Parameters

profileId int

The profile unique identifier.

profilingKey ProfilingKey

The profile key.

profilingType ProfilingMessageType

Type of the profile.

message ProfilingEventMessage?

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

ProfilingEventMessage?

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

string

Methods

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.