Class SystemSnapshot
- Namespace
- DotCompute.Core.Telemetry.System
- Assembly
- DotCompute.Core.dll
Represents a snapshot of system performance metrics at a specific point in time. Captures system-wide resource utilization for profiling analysis.
public sealed class SystemSnapshot
- Inheritance
-
SystemSnapshot
- Inherited Members
Properties
CpuUsage
Gets or sets the CPU usage percentage at the time of the snapshot. Indicates how much of the system's CPU capacity was being utilized.
public double CpuUsage { get; set; }
Property Value
- double
The CPU usage as a decimal (0.0 to 1.0).
MemoryUsage
Gets or sets the memory usage in bytes at the time of the snapshot. Indicates how much system memory was being consumed.
public long MemoryUsage { get; set; }
Property Value
- long
The memory usage in bytes.
ThreadCount
Gets or sets the number of active threads at the time of the snapshot. Provides insight into the system's concurrency level.
public int ThreadCount { get; set; }
Property Value
- int
The thread count as an integer.
Timestamp
Gets or sets the timestamp when this snapshot was captured. Provides the exact moment when these system metrics were recorded.
public DateTimeOffset Timestamp { get; set; }
Property Value
- DateTimeOffset
The timestamp as a DateTimeOffset.