Class ActiveProfile
- Namespace
- DotCompute.Core.Telemetry.Profiles
- Assembly
- DotCompute.Core.dll
Represents an active profiling session collecting performance data in real-time. Contains all the data being gathered during an ongoing profiling operation.
public sealed class ActiveProfile
- Inheritance
-
ActiveProfile
- Inherited Members
Properties
CorrelationId
Gets or sets the correlation identifier for this profiling session. Used to link all collected data to this specific profiling session.
public string CorrelationId { get; set; }
Property Value
- string
The correlation identifier as a string.
DeviceMetrics
Gets or sets the device-specific metrics collected during this session. Maps device IDs to their corresponding performance metrics.
public ConcurrentDictionary<string, DeviceProfileMetrics> DeviceMetrics { get; }
Property Value
- ConcurrentDictionary<string, DeviceProfileMetrics>
A thread-safe dictionary mapping device IDs to profile metrics.
KernelExecutions
Gets the collection of kernel execution profiles captured during this session. Each profile represents the performance data from a single kernel execution.
public ConcurrentBag<KernelExecutionProfile> KernelExecutions { get; }
Property Value
- ConcurrentBag<KernelExecutionProfile>
A thread-safe collection of kernel execution profiles.
MemoryOperations
Gets the collection of memory operation profiles captured during this session. Each profile represents the performance data from a memory operation.
public ConcurrentBag<MemoryOperationProfile> MemoryOperations { get; }
Property Value
- ConcurrentBag<MemoryOperationProfile>
A thread-safe collection of memory operation profiles.
Options
Gets or sets the options that control the behavior of this profiling session. Determines what data is collected and how the session operates.
public ProfileOptions Options { get; set; }
Property Value
- ProfileOptions
The profile options for this session.
StartTime
Gets or sets the timestamp when the profiling session started. Used for calculating the total duration of the profiling session.
public DateTimeOffset StartTime { get; set; }
Property Value
- DateTimeOffset
The start time as a DateTimeOffset.
SystemSnapshots
Gets the collection of system performance snapshots captured during this session. Each snapshot represents system state at a specific point in time.
public ConcurrentQueue<SystemSnapshot> SystemSnapshots { get; }
Property Value
- ConcurrentQueue<SystemSnapshot>
A thread-safe queue of system performance snapshots.