ProfilingEvent Struct
Namespace: Stride.Core.DiagnosticsAssembly: Stride.Core.dll
A profiling event generated by Profiler.
public struct ProfilingEvent
Name | Description | |
---|---|---|
Constructors | ||
ProfilingEvent(Int32, ProfilingKey, ProfilingMessageType, Int64, Int64, String, Dictionary<Object, Object>, Nullable<ProfilingCustomValue>, Nullable<ProfilingCustomValue>, Nullable<ProfilingCustomValue>, Nullable<ProfilingCustomValue>) | Initializes a new instance of the ProfilingEvent struct. |
|
Fields | ||
Attributes | The attributes |
|
Custom0 | ||
Custom1 | ||
Custom2 | ||
Custom3 | ||
ElapsedTime | The elapsed time since Begin event. |
|
Id | The unique identifier. |
|
Key | The profile key. |
|
Text | The text. |
|
TimeStamp | The timestamp. |
|
Type | The type of the profile. |
Constructors
ProfilingEvent(Int32, ProfilingKey, ProfilingMessageType, Int64, Int64, String, Dictionary<Object, Object>, Nullable<ProfilingCustomValue>, Nullable<ProfilingCustomValue>, Nullable<ProfilingCustomValue>, Nullable<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
Type | Name | Description |
---|---|---|
System.Int32 | profileId | The profile identifier. |
ProfilingKey | profilingKey | The profiling key. |
ProfilingMessageType | profilingType | Type of the profiling. |
System.Int64 | timeStamp | |
System.Int64 | elapsedTime | The elapsed time. |
System.String | text | The text. |
System.Collections.Generic.Dictionary<System.Object, System.Object> | attributes | The attributes. |
System.Nullable<ProfilingCustomValue> | value0 | |
System.Nullable<ProfilingCustomValue> | value1 | |
System.Nullable<ProfilingCustomValue> | value2 | |
System.Nullable<ProfilingCustomValue> | value3 |
Fields
Attributes
The attributes
public readonly Dictionary<object, object> Attributes
Field Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Object, System.Object> |
Custom0
public readonly ProfilingCustomValue? Custom0
Field Value
Type | Description |
---|---|
System.Nullable<ProfilingCustomValue> |
Custom1
public readonly ProfilingCustomValue? Custom1
Field Value
Type | Description |
---|---|
System.Nullable<ProfilingCustomValue> |
Custom2
public readonly ProfilingCustomValue? Custom2
Field Value
Type | Description |
---|---|
System.Nullable<ProfilingCustomValue> |
Custom3
public readonly ProfilingCustomValue? Custom3
Field Value
Type | Description |
---|---|
System.Nullable<ProfilingCustomValue> |
ElapsedTime
The elapsed time since Begin event.
public readonly long ElapsedTime
Field Value
Type | Description |
---|---|
System.Int64 |
Id
The unique identifier.
public readonly int Id
Field Value
Type | Description |
---|---|
System.Int32 |
Key
The profile key.
public readonly ProfilingKey Key
Field Value
Type | Description |
---|---|
ProfilingKey |
Text
The text.
public readonly string Text
Field Value
Type | Description |
---|---|
System.String |
TimeStamp
The timestamp.
public readonly long TimeStamp
Field Value
Type | Description |
---|---|
System.Int64 |
Type
The type of the profile.
public readonly ProfilingMessageType Type
Field Value
Type | Description |
---|---|
ProfilingMessageType |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()