ResourceSnapshot

Models & Types · AiDotNet.TrainingMonitoring.Resources

A snapshot of resource usage at a point in time.

Constructors

Constructor Summary
ResourceSnapshot()

Properties

Property Summary
DateTime Timestamp { get; set; } Gets or sets the timestamp of this snapshot.
bool GpuAvailable { get; set; } Gets or sets whether a GPU is available.
double CpuPercent { get; set; } Gets or sets the system CPU usage percentage.
double GpuMemoryPercent { get; } Gets the GPU memory usage percentage.
double GpuMemoryTotalMB { get; set; } Gets or sets the total GPU memory in MB.
double GpuMemoryUsedMB { get; set; } Gets or sets the GPU memory used in MB.
double GpuPercent { get; set; } Gets or sets the GPU utilization percentage.
double MemoryPercent { get; } Gets the memory usage percentage.
double MemoryTotalMB { get; set; } Gets or sets the total system memory in MB.
double MemoryUsedMB { get; set; } Gets or sets the system memory used in MB.
double ProcessCpuPercent { get; set; } Gets or sets the process CPU usage percentage.
double ProcessMemoryMB { get; set; } Gets or sets the process memory used in MB.

Methods

Method Summary
string ToString() Returns a string representation of the snapshot.