Table of Contents

Class ResourceUsage

Namespace
DotCompute.Abstractions.Debugging
Assembly
DotCompute.Abstractions.dll

Represents resource usage information during kernel execution.

public sealed class ResourceUsage
Inheritance
ResourceUsage
Inherited Members

Properties

AdditionalMetrics

Gets additional resource metrics.

public Dictionary<string, object> AdditionalMetrics { get; init; }

Property Value

Dictionary<string, object>

CpuTimeMs

Gets the CPU time used in milliseconds.

public double CpuTimeMs { get; init; }

Property Value

double

CpuUtilization

Gets the CPU utilization percentage (0-100).

public double CpuUtilization { get; init; }

Property Value

double

GpuTimeMs

Gets the GPU time used in milliseconds (if applicable).

public double GpuTimeMs { get; init; }

Property Value

double

GpuUtilization

Gets the GPU utilization percentage (0-100).

public double GpuUtilization { get; init; }

Property Value

double

MemoryAllocationCount

Gets the total number of memory allocations.

public long MemoryAllocationCount { get; init; }

Property Value

long

MemoryBandwidth

Gets the memory bandwidth utilization in bytes per second.

public long MemoryBandwidth { get; init; }

Property Value

long

PeakMemoryUsage

Gets the peak memory usage in bytes.

public long PeakMemoryUsage { get; init; }

Property Value

long

ThreadCount

Gets the number of threads used.

public int ThreadCount { get; init; }

Property Value

int