![]() |
GearBlocks
The GearBlocks Lua scripting API
|
Provides a way to create and destroy profiler metric recorders. More...
Public Member Functions | |
IProfilerMetricRecorder | CreateMetricRecorder (string category, string name, int capacity=1) |
Create a profile metric recorder. | |
void | DestroyMetricRecorder (string category, string name) |
Destroy a previously created profile metric recorder. | |
void | DestroyMetricRecorder (IProfilerMetricRecorder metricRecorder) |
Destroy a previously created profile metric recorder. | |
Provides a way to create and destroy profiler metric recorders.
IProfilerMetricRecorder SmashHammer.Profiling.IProfiler.CreateMetricRecorder | ( | string | category, |
string | name, | ||
int | capacity = 1 |
||
) |
Create a profile metric recorder.
category | Profiler category name. |
name | Profiler marker or counter name. |
capacity | Maximum amount of samples to be collected. |
Implemented in SmashHammer.Profiling.ProfilerAsset.
void SmashHammer.Profiling.IProfiler.DestroyMetricRecorder | ( | string | category, |
string | name | ||
) |
Destroy a previously created profile metric recorder.
category | Profiler category name. |
name | Profiler marker or counter name. |
Implemented in SmashHammer.Profiling.ProfilerAsset.
void SmashHammer.Profiling.IProfiler.DestroyMetricRecorder | ( | IProfilerMetricRecorder | metricRecorder | ) |
Destroy a previously created profile metric recorder.
metricRecorder | The metric recorder to destroy. |
Implemented in SmashHammer.Profiling.ProfilerAsset.