diff options
author | Karel Zak | 2019-03-15 13:33:40 +0100 |
---|---|---|
committer | Karel Zak | 2019-03-15 13:37:51 +0100 |
commit | 16ca05511b90ba3204fccdad28b5526ba10263cf (patch) | |
tree | 19a507e74edad8ae94fa8bacd2ee2d54970df517 /sys-utils/lscpu.h | |
parent | Merge branch 'swapon-btrfs' of https://github.com/marcosfrm/util-linux (diff) | |
download | kernel-qcow2-util-linux-16ca05511b90ba3204fccdad28b5526ba10263cf.tar.gz kernel-qcow2-util-linux-16ca05511b90ba3204fccdad28b5526ba10263cf.tar.xz kernel-qcow2-util-linux-16ca05511b90ba3204fccdad28b5526ba10263cf.zip |
lscpu: add 'Frequency boost'
Show turbo boost status on platforms where is available a file
/sys/devices/system/cpu/cpufreq/boost.
Addresses: https://github.com/karelzak/util-linux/issues/755
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.h')
-rw-r--r-- | sys-utils/lscpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-utils/lscpu.h b/sys-utils/lscpu.h index 24bc11e96..a8311b33d 100644 --- a/sys-utils/lscpu.h +++ b/sys-utils/lscpu.h @@ -105,6 +105,7 @@ struct lscpu_desc { char *mtid; /* maximum thread id (s390) */ char *addrsz; /* address sizes */ int dispatching; /* none, horizontal or vertical */ + int freqboost; /* -1 if not evailable */ int mode; /* rm, lm or/and tm */ int ncpuspos; /* maximal possible CPUs */ |