tools/power turbostat: Allow printing header every N iterations
authorZephaniah E. Loss-Cutler-Hull <zephaniah@gmail.com>
Tue, 5 Oct 2021 04:54:39 +0000 (21:54 -0700)
committerLen Brown <len.brown@intel.com>
Sun, 17 Apr 2022 01:58:15 +0000 (21:58 -0400)
commitc7e399f839689e9ead863456132f19b88abc3bc9
tree86c7de07c8815e90653cbb485401189bbc0899c7
parent0fc521bc3339b029b2ac172a5b00bd7c9867e83d
tools/power turbostat: Allow printing header every N iterations

This gives the ability to reprint the header every N iterations, so you
can ensure that a scrolling display always has the header visible
somewhere on the screen.

Signed-off-by: Zephaniah E. Loss-Cutler-Hull <zephaniah@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c