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
CpuUsage
Gets CPU usage information.
public CpuProfilingData? CpuUsage { get; init; }
Property Value
CpuUtilization
Gets the CPU utilization percentage (0-100).
public double CpuUtilization { get; init; }
Property Value
EndTime
Gets the end time of execution.
public DateTime EndTime { get; init; }
Property Value
Error
Gets the error information if execution failed.
public Exception? Error { get; init; }
Property Value
ErrorMessage
Gets the error message if execution failed.
public string? ErrorMessage { get; init; }
Property Value
ExecutionTime
Gets the execution duration.
public TimeSpan ExecutionTime { get; init; }
Property Value
ExecutionTimeMs
Gets the execution time in milliseconds.
public double ExecutionTimeMs { get; init; }
Property Value
GpuUtilization
Gets the GPU utilization percentage (0-100).
public double GpuUtilization { get; init; }
Property Value
KernelName
Gets the kernel name.
public string KernelName { get; init; }
Property Value
MemoryUsage
Gets memory usage information.
public MemoryProfilingData? MemoryUsage { get; init; }
Property Value
MemoryUsageBytes
Gets the memory usage in bytes.
public long MemoryUsageBytes { get; init; }
Property Value
Metadata
Gets additional metadata about the execution.
public Dictionary<string, object> Metadata { get; init; }
Property Value
PerformanceMetrics
Gets performance metrics collected during execution.
public Dictionary<string, object> PerformanceMetrics { get; init; }
Property Value
Result
Gets the execution result data.
public object? Result { get; init; }
Property Value
SessionId
Gets the session ID this data belongs to.
public string SessionId { get; init; }
Property Value
StartTime
Gets the start time of execution.
public DateTime StartTime { get; init; }
Property Value
Success
Gets whether the execution was successful.
public bool Success { get; init; }
Property Value
ThroughputOpsPerSecond
Gets the throughput in operations per second.
public double ThroughputOpsPerSecond { get; init; }
Property Value
Timestamp
Gets the timestamp when this data was collected.
public DateTime Timestamp { get; init; }