//! Diagnostic counters for a [`ProcessGroup`](crate::ProcessGroup).
use Duration;
/// A snapshot of a process group's resource usage.
///
/// `total_cpu_time` and `peak_memory_bytes` are `None` when the platform can't
/// report them — notably the Linux POSIX process-group fallback (no cgroup
/// accounting) and the no-containment `other` target. Mirrors the .NET
/// `ProcessGroupStats`.