Table of Contents

Class KernelPerformanceProfile

Namespace
DotCompute.Runtime.Services
Assembly
DotCompute.Runtime.dll

A class that represents kernel performance profile.

public sealed class KernelPerformanceProfile
Inheritance
KernelPerformanceProfile
Inherited Members

Constructors

KernelPerformanceProfile(string)

A class that represents kernel performance profile.

public KernelPerformanceProfile(string kernelName)

Parameters

kernelName string

Properties

ExecutionCount

Gets or sets the execution count.

public int ExecutionCount { get; }

Property Value

int

The execution count.

KernelName

Gets or sets the kernel name.

public string KernelName { get; }

Property Value

string

The kernel name.

Methods

AddExecution(KernelExecutionMetrics)

Performs add execution.

public void AddExecution(KernelExecutionMetrics metrics)

Parameters

metrics KernelExecutionMetrics

The metrics.

GetCompilationTimes()

Gets the compilation times.

public List<TimeSpan> GetCompilationTimes()

Returns

List<TimeSpan>

The compilation times.

GetExecutionTimes()

Gets the execution times.

public List<TimeSpan> GetExecutionTimes()

Returns

List<TimeSpan>

The execution times.

GetMemoryUsages()

Gets the memory usages.

public List<double> GetMemoryUsages()

Returns

List<double>

The memory usages.

GetWorkGroupSizes()

Gets the work group sizes.

public List<WorkGroupSize> GetWorkGroupSizes()

Returns

List<WorkGroupSize>

The work group sizes.