Table of Contents

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

counterName string
initialValue double

Properties

Average

public double Average { get; }

Property Value

double

CounterName

public string CounterName { get; }

Property Value

string

CurrentValue

public double CurrentValue { get; }

Property Value

double

LastUpdated

public DateTimeOffset LastUpdated { get; }

Property Value

DateTimeOffset

MaxValue

public double MaxValue { get; }

Property Value

double

MinValue

public double MinValue { get; }

Property Value

double

SampleCount

public int SampleCount { get; }

Property Value

int

TotalValue

public double TotalValue { get; }

Property Value

double

Methods

UpdateValue(double)

public void UpdateValue(double value)

Parameters

value double