Table of Contents

Struct ProfilingEvent

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

A profiling event generated by Profiler.

public 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

profileId int

The profile identifier.

profilingKey ProfilingKey

The profiling key.

profilingType ProfilingMessageType

Type of the profiling.

timeStamp TimeSpan
elapsedTime TimeSpan

The elapsed time.

threadId int
message ProfilingEventMessage?
attributes TagList

The attributes.

Fields

Attributes

The attributes

public readonly TagList Attributes

Field Value

TagList

ElapsedTime

The elapsed time since Begin event.

public readonly TimeSpan ElapsedTime

Field Value

TimeSpan

Id

The unique identifier.

public readonly int Id

Field Value

int

Key

The profile key.

public readonly ProfilingKey Key

Field Value

ProfilingKey

Message

The message.

public readonly ProfilingEventMessage? Message

Field Value

ProfilingEventMessage?

ThreadId

The thread id.

public readonly int ThreadId

Field Value

int

TimeStamp

The timestamp.

public readonly TimeSpan TimeStamp

Field Value

TimeSpan

Type

The type of the profile.

public readonly ProfilingMessageType Type

Field Value

ProfilingMessageType

Methods

IsGPUEvent()

public bool IsGPUEvent()

Returns

bool