summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.h
diff options
context:
space:
mode:
authorKarel Zak2019-03-15 13:33:40 +0100
committerKarel Zak2019-03-15 13:37:51 +0100
commit16ca05511b90ba3204fccdad28b5526ba10263cf (patch)
tree19a507e74edad8ae94fa8bacd2ee2d54970df517 /sys-utils/lscpu.h
parentMerge branch 'swapon-btrfs' of https://github.com/marcosfrm/util-linux (diff)
downloadkernel-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.h1
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 */