aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-28 17:58:13 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-28 17:58:13 +0200
commit45c7b17713635bbe66f08d924e682c4fd78b3401 (patch)
tree89402670ba71024d02c185f7f754c91c696d804c /lib
parentdd3ec5d62213695ed08e0be0a0ac072e19dc7bf4 (diff)
parentb28acdbed744af8468cc75c1e8529c4ef5f16bcd (diff)
downloadotp-45c7b17713635bbe66f08d924e682c4fd78b3401.tar.gz
otp-45c7b17713635bbe66f08d924e682c4fd78b3401.tar.bz2
otp-45c7b17713635bbe66f08d924e682c4fd78b3401.zip
Merge branch 'gomoripeti/fix-cpu_sup_spec/PR-1029/OTP-13526'
* gomoripeti/fix-cpu_sup_spec/PR-1029/OTP-13526: Fix type spec for cpu_sup:util/1
Diffstat (limited to 'lib')
-rw-r--r--lib/os_mon/src/cpu_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/cpu_sup.erl b/lib/os_mon/src/cpu_sup.erl
index 0045b2c09f..5664615230 100644
--- a/lib/os_mon/src/cpu_sup.erl
+++ b/lib/os_mon/src/cpu_sup.erl
@@ -68,7 +68,7 @@
-type util_cpus() :: 'all' | integer() | [integer()].
-type util_state() :: 'user' | 'nice_user' | 'kernel' | 'wait' | 'idle'.
--type util_value() :: {util_state(), float()} | float().
+-type util_value() :: [{util_state(), float()}] | float().
-type util_desc() :: {util_cpus(), util_value(), util_value(), []}.
%%----------------------------------------------------------------------