forked from pool/cpupower
34ffab8694
- Update (jsc#SLE-18392, jsc#SLE-18906, jsc#SLE-18393, jsc#SLE-18410): * turbostat to 21.05.04 * intel speed select to 1.10 * cpupower to 5.14-rcX (kernel sources state) OBS-URL: https://build.opensuse.org/request/show/907146 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=117
18 lines
425 B
Diff
18 lines
425 B
Diff
---
|
|
utils/cpufreq-info.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
--- a/utils/cpufreq-info.c
|
|
+++ b/utils/cpufreq-info.c
|
|
@@ -190,7 +190,9 @@
|
|
if (ret)
|
|
return ret;
|
|
|
|
- printf(_(" Boost States: %d\n"), b_states);
|
|
+ if (b_states != 0)
|
|
+ printf(_(" Boost States: %d\n"), b_states);
|
|
+
|
|
printf(_(" Total States: %d\n"), pstate_no);
|
|
for (i = 0; i < pstate_no; i++) {
|
|
if (!pstates[i])
|