mltop 0.6.3

Resource monitor for ML engineers written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::cpu::CpuSnapshot;
use super::gpu::GpuSnapshot;
use super::memory::MemorySnapshot;
use super::processes::ProcessesSnapshot;

#[derive(Clone)]
pub struct DataSnapshot {
    pub cpu: Option<CpuSnapshot>,
    pub memory: Option<MemorySnapshot>,
    pub gpu: Option<GpuSnapshot>,
    pub processes: Option<ProcessesSnapshot>,
}