This module contains the CPU benchmarking task.
Measurements are performed using :cpu_sup.util/1
Currently (according to docs), as busy processor states we identify:
- user
- nice_user (low priority use mode)
- kernel
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
arg is passed as the argument to Task.start_link/1 in the :start field
of the spec.
For more information, see the Supervisor module,
the Supervisor.child_spec/2 function and the Supervisor.child_spec/0 type.
@spec start_link(cpu_interval :: pos_integer(), duration :: pos_integer()) :: Task.t()