Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/os_mon/src/cpu_sup.erl
6 changes: 4 additions & 2 deletions lib/os_mon/src/cpu_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@
%%----------------------------------------------------------------------

-type util_cpus() :: 'all' | integer() | [integer()].
-type util_state() :: 'user' | 'nice_user' | 'kernel' | 'wait' | 'idle'.
-type util_value() :: {util_state(), float()} | float().
-type util_state() :: 'user' | 'nice_user' | 'kernel' | 'wait' | 'idle' |
'hard_irq' | 'soft_irq' | 'steal'.
-type util_value() :: [{util_state(), float()}] | {util_state(), float()} |
float().
-type util_desc() :: {util_cpus(), util_value(), util_value(), []}.

%%----------------------------------------------------------------------
Expand Down