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
CpuTimeMs
Gets the CPU time used in milliseconds.
public double CpuTimeMs { get; init; }
Property Value
CpuUtilization
Gets the CPU utilization percentage (0-100).
public double CpuUtilization { get; init; }
Property Value
GpuTimeMs
Gets the GPU time used in milliseconds (if applicable).
public double GpuTimeMs { get; init; }
Property Value
GpuUtilization
Gets the GPU utilization percentage (0-100).
public double GpuUtilization { get; init; }
Property Value
MemoryAllocationCount
Gets the total number of memory allocations.
public long MemoryAllocationCount { get; init; }
Property Value
MemoryBandwidth
Gets the memory bandwidth utilization in bytes per second.
public long MemoryBandwidth { get; init; }
Property Value
PeakMemoryUsage
Gets the peak memory usage in bytes.
public long PeakMemoryUsage { get; init; }
Property Value
ThreadCount
Gets the number of threads used.
public int ThreadCount { get; init; }