Process::MetricsSourceProcessMetricsProcessorSample

class Sample

An immutable measurement of process CPU usage over an interval.

Signature

attribute Integer

The process ID.

attribute Float

The elapsed monotonic time in seconds.

attribute Float

The CPU time consumed during the interval in seconds.

attribute Float

The CPU utilization in core units, where 1.0 represents one fully occupied core. Multi-threaded processes may report values greater than 1.0.