machine_info/
lib.rs

1#![warn(rustdoc::invalid_rust_codeblocks)]
2#![deny(rustdoc::missing_doc_code_examples)]
3#![warn(missing_docs)]
4#![warn(rustdoc::missing_crate_level_docs)]
5
6//! CPU and memory monitor. You can retrieve the CPU, memory and GPU usage. Global and by processes
7//! Also you can get a snapshot of your current hardware and system info
8//! It is meant to monitor a system so the performance is the priority. You can probe every second
9//! that it will not be harmful
10mod machine;
11mod model;
12mod monitor;
13
14#[cfg(feature = "v4l")]
15pub mod camera;
16
17pub use machine::Machine;
18pub use model::{Disk, DiskUsage, Process, GraphicsProcessUtilization, SystemStatus, GraphicsUsage, Processor, GraphicCard, SystemInfo, Camera, NvidiaInfo};
19
20