diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-28 17:58:13 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-28 17:58:13 +0200 |
commit | 45c7b17713635bbe66f08d924e682c4fd78b3401 (patch) | |
tree | 89402670ba71024d02c185f7f754c91c696d804c | |
parent | dd3ec5d62213695ed08e0be0a0ac072e19dc7bf4 (diff) | |
parent | b28acdbed744af8468cc75c1e8529c4ef5f16bcd (diff) | |
download | otp-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
-rw-r--r-- | lib/os_mon/src/cpu_sup.erl | 2 |
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(), []}. %%---------------------------------------------------------------------- |