use cpu;
use disk_io;
/// Sample CPU usage over ~200ms and return a percentage (0–100*ncpus).
///
/// Thin wrapper around `resource-sampler` so existing callers keep their
/// imports while the implementation lives in the sampler crate.
/// Return (read_bytes, write_bytes) from `/proc/<pid>/io`.