Table of Contents

Class PerformanceProfiler

Namespace
DotCompute.Abstractions.Telemetry.Providers
Assembly
DotCompute.Abstractions.dll

Abstract base class for performance profilers.

public abstract class PerformanceProfiler : IDisposable
Inheritance
PerformanceProfiler
Implements
Inherited Members
Extension Methods

Methods

CreateProfileAsync(string, ProfileOptions?, CancellationToken)

Creates a performance profile.

public abstract Task<PerformanceProfile> CreateProfileAsync(string correlationId, ProfileOptions? options, CancellationToken cancellationToken)

Parameters

correlationId string

The correlation ID.

options ProfileOptions

The profile options.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<PerformanceProfile>

The performance profile.

Dispose()

Disposes the performance profiler.

public void Dispose()

Dispose(bool)

Releases resources used by the performance profiler.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

True if called from Dispose(), false if called from finalizer.