]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: add --enable Time_Of_Day_Seconds
authorLen Brown <len.brown@intel.com>
Tue, 17 Oct 2017 19:42:56 +0000 (15:42 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 1 Jun 2018 16:13:04 +0000 (12:13 -0400)
commit5729b16c6ad24888a3d17b0618a95c1de137cb60
treeea15f23a71ba45dc7c6618f2958a5d42930cb64f
parenta38f90ca2584849e5ebbc075e1a8755667e20ff2
tools/power turbostat: add --enable Time_Of_Day_Seconds

Add a Time_Of_Day_Seconds column showing when measurement
for each row was completed.  Units are [sec.subsec] since Epoch,
as reported by gettimeofday(2).

While useful to correlate turbostat output with other tools,
this built-in column is disabled, by default.

Add the "--enable" option to enable such disabled-by-default
built-in columns:

"--enable Time_Of_Day_Seconds"
"--enable usec"

"--enable all", will enable all disabled-by-defauilt built-in counters.

When "--debug" is used, all disabled-by-default columns are enabled,
unless explicitly skipped using "--hide"

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c