Construct empty event sample.
Whether the sample was measured or is currently beagin measured. If this is false, nothing will be measured and sample will not be submitted to profiler runtime.
Identifiers frame when the sample started measuring.
Identifier of the specific captured event sample.
Time when the sample started capturing, in nanoseconds from origin defined by ProfilerRuntime.
Time when the sample stopped capturing, in nanoseconds from origin defined by ProfilerRuntime.
Reference to definition of the event that is being captured in this sample.
Stat data recorded by the script event.
Number of stats at the beginning of the Stats list that is actually used.
This version of SetAttribute function has better performance because it the attribute definition is explicitly provided.
Definition of the attribute.
Value to be assigned to the attribute. Recognized types are int, float and string, other types are converted to string using their toString() method.
This version of SetAttribute function has slightly worse performance because it searches for given attribute definition by string name.
Name of the attribute.
Value to be assigned to the attribute. Recognized types are int, float and string, other types are converted to string using their toString() method.
Starts event sample time measurement.
Event that is being measured by this event sample.
StaticgetReturns unused event sample instance from static pool.
Unused event sample instance, not cleared.
StaticreturnReturns event sample instance back to static pool so that it can be reused again.
Instance that should be reused.
The ProfilerEventSample class contains captured data for an event.