Commit 2ba8b24e authored by Len Brown's avatar Len Brown
Browse files

tools/power turbostat: Print percentages in 8-columns



Added counters that are FORMAT_PERCENT
do not need to be 64-bits -- 32 is plenty.
This allows the output code to fit them,
and their header, into 8-columns.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 88082927
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10997,7 +10997,7 @@ void probe_cpuidle_residency(void)
		if (is_deferred_skip(name_buf))
			continue;

		add_counter(0, path, name_buf, 64, SCOPE_CPU, COUNTER_USEC, FORMAT_PERCENT, SYSFS_PERCPU, 0);
		add_counter(0, path, name_buf, 32, SCOPE_CPU, COUNTER_USEC, FORMAT_PERCENT, SYSFS_PERCPU, 0);

		if (state > max_state)
			max_state = state;