Class ProfilingSession
- Namespace
- DotCompute.Abstractions.Debugging
- Assembly
- DotCompute.Abstractions.dll
Represents an active profiling session for a kernel.
public sealed class ProfilingSession
- Inheritance
-
ProfilingSession
- Inherited Members
Properties
AcceleratorType
Gets the accelerator type being used.
public AcceleratorType AcceleratorType { get; init; }
Property Value
Data
Gets the profiling data collected during this session.
public IReadOnlyList<ProfilingData> Data { get; init; }
Property Value
ElapsedTime
Gets the elapsed time since the session started.
public TimeSpan ElapsedTime { get; }
Property Value
Inputs
Gets the input parameters for the kernel.
public IReadOnlyList<object> Inputs { get; init; }
Property Value
IsActive
Gets whether the session is currently active.
public bool IsActive { get; set; }
Property Value
KernelName
Gets the name of the kernel being profiled.
public string KernelName { get; init; }
Property Value
SessionId
Gets the unique session identifier.
public string SessionId { get; init; }
Property Value
StartCpuTime
Gets the CPU time at the start of the session.
public double StartCpuTime { get; init; }
Property Value
StartMemory
Gets the memory usage at the start of the session.
public long StartMemory { get; init; }
Property Value
StartTime
Gets the time when the session started.
public DateTime StartTime { get; init; }