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.0represents one fully occupied core. Multi-threaded processes may report values greater than1.0.