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
CustomMetrics
Gets custom metrics for this operation. Application-specific performance indicators.
public Dictionary<string, double> CustomMetrics { get; init; }
Property Value
ExecutionCount
Gets the total execution count. Number of times this operation has been executed.
public long ExecutionCount { get; init; }
Property Value
MaxExecutionTime
Gets the maximum execution time. Slowest recorded execution duration.
public TimeSpan MaxExecutionTime { get; init; }
Property Value
MinExecutionTime
Gets the minimum execution time. Fastest recorded execution duration.
public TimeSpan MinExecutionTime { get; init; }
Property Value
OperationName
Gets the operation name. Identifies the specific operation being measured.
public required string OperationName { get; init; }
Property Value
SuccessRate
Gets the success rate. Percentage of successful executions (0.0 to 1.0).
public double SuccessRate { get; init; }