Table of Contents

Class OperationMetrics

Namespace
DotCompute.Runtime.Services.Performance.Metrics
Assembly
DotCompute.Runtime.dll

Operation-specific performance metrics. Tracks detailed performance data for individual operations.

public class OperationMetrics
Inheritance
OperationMetrics
Inherited Members

Properties

AverageExecutionTime

Gets the average execution time. Mean duration across all executions.

public TimeSpan AverageExecutionTime { get; init; }

Property Value

TimeSpan

CustomMetrics

Gets custom metrics for this operation. Application-specific performance indicators.

public Dictionary<string, double> CustomMetrics { get; init; }

Property Value

Dictionary<string, double>

ExecutionCount

Gets the total execution count. Number of times this operation has been executed.

public long ExecutionCount { get; init; }

Property Value

long

MaxExecutionTime

Gets the maximum execution time. Slowest recorded execution duration.

public TimeSpan MaxExecutionTime { get; init; }

Property Value

TimeSpan

MinExecutionTime

Gets the minimum execution time. Fastest recorded execution duration.

public TimeSpan MinExecutionTime { get; init; }

Property Value

TimeSpan

OperationName

Gets the operation name. Identifies the specific operation being measured.

public required string OperationName { get; init; }

Property Value

string

SuccessRate

Gets the success rate. Percentage of successful executions (0.0 to 1.0).

public double SuccessRate { get; init; }

Property Value

double