Table of Contents

Class ProfilingData

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

Represents performance data collected during kernel execution.

public sealed class ProfilingData
Inheritance
ProfilingData
Inherited Members

Properties

AcceleratorType

Gets the accelerator type used for this execution.

public AcceleratorType AcceleratorType { get; init; }

Property Value

AcceleratorType

CpuUsage

Gets CPU usage information.

public CpuProfilingData? CpuUsage { get; init; }

Property Value

CpuProfilingData

CpuUtilization

Gets the CPU utilization percentage (0-100).

public double CpuUtilization { get; init; }

Property Value

double

EndTime

Gets the end time of execution.

public DateTime EndTime { get; init; }

Property Value

DateTime

Error

Gets the error information if execution failed.

public Exception? Error { get; init; }

Property Value

Exception

ErrorMessage

Gets the error message if execution failed.

public string? ErrorMessage { get; init; }

Property Value

string

ExecutionTime

Gets the execution duration.

public TimeSpan ExecutionTime { get; init; }

Property Value

TimeSpan

ExecutionTimeMs

Gets the execution time in milliseconds.

public double ExecutionTimeMs { get; init; }

Property Value

double

GpuUtilization

Gets the GPU utilization percentage (0-100).

public double GpuUtilization { get; init; }

Property Value

double

KernelName

Gets the kernel name.

public string KernelName { get; init; }

Property Value

string

MemoryUsage

Gets memory usage information.

public MemoryProfilingData? MemoryUsage { get; init; }

Property Value

MemoryProfilingData

MemoryUsageBytes

Gets the memory usage in bytes.

public long MemoryUsageBytes { get; init; }

Property Value

long

Metadata

Gets additional metadata about the execution.

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

Property Value

Dictionary<string, object>

PerformanceMetrics

Gets performance metrics collected during execution.

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

Property Value

Dictionary<string, object>

Result

Gets the execution result data.

public object? Result { get; init; }

Property Value

object

SessionId

Gets the session ID this data belongs to.

public string SessionId { get; init; }

Property Value

string

StartTime

Gets the start time of execution.

public DateTime StartTime { get; init; }

Property Value

DateTime

Success

Gets whether the execution was successful.

public bool Success { get; init; }

Property Value

bool

ThroughputOpsPerSecond

Gets the throughput in operations per second.

public double ThroughputOpsPerSecond { get; init; }

Property Value

double

Timestamp

Gets the timestamp when this data was collected.

public DateTime Timestamp { get; init; }

Property Value

DateTime