Sampling of CPU, memory, disk I/O, and GPU metrics; ring buffer utilities.
Used by peek-core for extended resource data and by peekd for history samples.