Table of Contents

Class PerformanceMetric

Namespace
DotCompute.Runtime.Services
Assembly
DotCompute.Runtime.dll

A class that represents performance metric.

public record PerformanceMetric : IEquatable<PerformanceMetric>
Inheritance
PerformanceMetric
Implements
Inherited Members

Constructors

PerformanceMetric(string, double, double, double, double, int, string?)

A class that represents performance metric.

public PerformanceMetric(string Name, double CurrentValue, double AverageValue, double MinValue, double MaxValue, int SampleCount, string? Unit)

Parameters

Name string
CurrentValue double
AverageValue double
MinValue double
MaxValue double
SampleCount int
Unit string

Properties

AverageValue

public double AverageValue { get; init; }

Property Value

double

CurrentValue

public double CurrentValue { get; init; }

Property Value

double

MaxValue

public double MaxValue { get; init; }

Property Value

double

MinValue

public double MinValue { get; init; }

Property Value

double

Name

public string Name { get; init; }

Property Value

string

SampleCount

public int SampleCount { get; init; }

Property Value

int

Unit

public string? Unit { get; init; }

Property Value

string