Table of Contents

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

AcceleratorType

Data

Gets the profiling data collected during this session.

public IReadOnlyList<ProfilingData> Data { get; init; }

Property Value

IReadOnlyList<ProfilingData>

ElapsedTime

Gets the elapsed time since the session started.

public TimeSpan ElapsedTime { get; }

Property Value

TimeSpan

Inputs

Gets the input parameters for the kernel.

public IReadOnlyList<object> Inputs { get; init; }

Property Value

IReadOnlyList<object>

IsActive

Gets whether the session is currently active.

public bool IsActive { get; set; }

Property Value

bool

KernelName

Gets the name of the kernel being profiled.

public string KernelName { get; init; }

Property Value

string

SessionId

Gets the unique session identifier.

public string SessionId { get; init; }

Property Value

string

StartCpuTime

Gets the CPU time at the start of the session.

public double StartCpuTime { get; init; }

Property Value

double

StartMemory

Gets the memory usage at the start of the session.

public long StartMemory { get; init; }

Property Value

long

StartTime

Gets the time when the session started.

public DateTime StartTime { get; init; }

Property Value

DateTime