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
NamestringCurrentValuedoubleAverageValuedoubleMinValuedoubleMaxValuedoubleSampleCountintUnitstring
Properties
AverageValue
public double AverageValue { get; init; }
Property Value
CurrentValue
public double CurrentValue { get; init; }
Property Value
MaxValue
public double MaxValue { get; init; }
Property Value
MinValue
public double MinValue { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
SampleCount
public int SampleCount { get; init; }
Property Value
Unit
public string? Unit { get; init; }