Class PerformanceMetric
- Namespace
- DotCompute.Backends.CPU.Kernels.Simd
- Assembly
- DotCompute.Backends.CPU.dll
Thread-safe performance metric for tracking individual operation types.
public sealed class PerformanceMetric
- Inheritance
-
PerformanceMetric
- Inherited Members
Constructors
PerformanceMetric(string)
Thread-safe performance metric for tracking individual operation types.
public PerformanceMetric(string name)
Parameters
namestring
Methods
GetSnapshot()
Gets the snapshot.
public PerformanceMetricSnapshot GetSnapshot()
Returns
- PerformanceMetricSnapshot
The snapshot.
RecordExecution(TimeSpan, long)
Performs record execution.
public void RecordExecution(TimeSpan executionTime, long elementCount)