pub fn sample() -> ProcessStatsExpand description
Sample current RSS + CPU%. Cheap to call (single /proc read on Linux). Safe to call from any thread.
pub fn sample() -> ProcessStatsSample current RSS + CPU%. Cheap to call (single /proc read on Linux). Safe to call from any thread.