Table of Contents

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

name string

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)

Parameters

executionTime TimeSpan

The execution time.

elementCount long

The element count.