Table of Contents

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

profileId int

The profile identifier.

profilingKey ProfilingKey

The profiling key.

profilingType ProfilingMessageType

Type of the profiling.

timeStamp long
elapsedTime long

The elapsed time.

text string

The text.

attributes Dictionary<object, object>

The attributes.

value0 ProfilingCustomValue?
value1 ProfilingCustomValue?
value2 ProfilingCustomValue?
value3 ProfilingCustomValue?

Fields

Attributes

The attributes

public readonly Dictionary<object, object> Attributes

Field Value

Dictionary<object, object>

Custom0

public readonly ProfilingCustomValue? Custom0

Field Value

ProfilingCustomValue?

Custom1

public readonly ProfilingCustomValue? Custom1

Field Value

ProfilingCustomValue?

Custom2

public readonly ProfilingCustomValue? Custom2

Field Value

ProfilingCustomValue?

Custom3

public readonly ProfilingCustomValue? Custom3

Field Value

ProfilingCustomValue?

ElapsedTime

The elapsed time since Begin event.

public readonly long ElapsedTime

Field Value

long

Id

The unique identifier.

public readonly int Id

Field Value

int

Key

The profile key.

public readonly ProfilingKey Key

Field Value

ProfilingKey

Text

The text.

public readonly string Text

Field Value

string

TimeStamp

The timestamp.

public readonly long TimeStamp

Field Value

long

Type

The type of the profile.

public readonly ProfilingMessageType Type

Field Value

ProfilingMessageType