Class CounterStatistics
- Namespace
- DotCompute.Backends.Metal.Telemetry
- Assembly
- DotCompute.Backends.Metal.dll
Performance counter statistics
public sealed class CounterStatistics
- Inheritance
-
CounterStatistics
- Inherited Members
Constructors
CounterStatistics(string, double)
public CounterStatistics(string counterName, double initialValue = 0)
Parameters
Properties
Average
public double Average { get; }
Property Value
CounterName
public string CounterName { get; }
Property Value
CurrentValue
public double CurrentValue { get; }
Property Value
LastUpdated
public DateTimeOffset LastUpdated { get; }
Property Value
MaxValue
public double MaxValue { get; }
Property Value
MinValue
public double MinValue { get; }
Property Value
SampleCount
public int SampleCount { get; }
Property Value
TotalValue
public double TotalValue { get; }
Property Value
Methods
UpdateValue(double)
public void UpdateValue(double value)
Parameters
valuedouble