mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
tools/power turbostat: Refactor floating point printout code
Too many copies of (usually) the same printf code... Also, unify code for added-counter FORMAT_AVERAGE, which was correct where it was tested, but neglected elsewhere. Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
64f96057a6
commit
696d15cbd8
1 changed files with 28 additions and 32 deletions
Loading…
Add table
Add a link
Reference in a new issue