Click or drag to resize

PerformanceSample Class

Accumulates raw data and computes samples.
Inheritance Hierarchy
SystemObject
  Demo3D.Utilities.PerformancePerformanceSample

Namespace: Demo3D.Utilities.Performance
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public sealed class PerformanceSample : IDisposable

The PerformanceSample type exposes the following members.

Properties
 NameDescription
Public propertyAvg The average computed sample.
Public propertyChartType Charting options.
Public propertyExp1Avg The last computed exponential weighted average.
Public propertyExp2Avg The last computed exponential weighted average.
Public propertyExp3Avg The last computed exponential weighted average.
Public propertyMaxSample The maximum computed sample.
Public propertyMaxValue The maximum expected value (scaled by Scale).
Public propertyMinSample The minimum computed sample.
Public propertyMinValue The minimum expected value (scaled by Scale).
Public propertySample The last computed sample.
Public propertyScale Scale, applied to the sample, min and max values.
Public propertyValueName The performance value name.
Public propertyValueType The value type.
Top
Methods
 NameDescription
Public methodCaptureSample Captures a new sample (stored in Sample).
Public methodDispose Releases this PerformanceSample.
Public methodReset Resets the sample and exponential weighted averages to zero.
Public methodResetExpAvg Resets the exponential weighted averages to NaN.
Public methodResetMinMaxAvg Resets the max/min and average to NaN.
Public methodUpdateExpAvg Updates the exponential weighted averages.
Top
Events
 NameDescription
Public eventValueLogged Occurs when a value is logged with ReportImmediately set.
Top
See Also