PerformanceSample Class |
Namespace: Demo3D.Utilities.Performance
public sealed class PerformanceSample : IDisposable
The PerformanceSample type exposes the following members.
| Name | Description | |
|---|---|---|
| Avg |
The average computed sample.
| |
| ChartType |
Charting options.
| |
| Exp1Avg |
The last computed exponential weighted average.
| |
| Exp2Avg |
The last computed exponential weighted average.
| |
| Exp3Avg |
The last computed exponential weighted average.
| |
| MaxSample |
The maximum computed sample.
| |
| MaxValue |
The maximum expected value (scaled by Scale).
| |
| MinSample |
The minimum computed sample.
| |
| MinValue |
The minimum expected value (scaled by Scale).
| |
| Sample |
The last computed sample.
| |
| Scale |
Scale, applied to the sample, min and max values.
| |
| ValueName |
The performance value name.
| |
| ValueType |
The value type.
|
| Name | Description | |
|---|---|---|
| CaptureSample |
Captures a new sample (stored in Sample).
| |
| Dispose |
Releases this PerformanceSample.
| |
| Reset |
Resets the sample and exponential weighted averages to zero.
| |
| ResetExpAvg |
Resets the exponential weighted averages to NaN.
| |
| ResetMinMaxAvg |
Resets the max/min and average to NaN.
| |
| UpdateExpAvg |
Updates the exponential weighted averages.
|
| Name | Description | |
|---|---|---|
| ValueLogged |
Occurs when a value is logged with ReportImmediately set.
|