]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/power turbostat: Refactor floating point printout code
authorLen Brown <len.brown@intel.com>
Mon, 20 Oct 2025 23:16:10 +0000 (20:16 -0300)
committerLen Brown <len.brown@intel.com>
Fri, 24 Oct 2025 13:54:09 +0000 (10:54 -0300)
commit696d15cbd8c2cf29a8e7486bf9fbf085f4cefed6
tree788b77da67e76e9932e3a5a04750d5d8f0380656
parent64f96057a6391a643f4e7c2b2333c445acdec865
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>
tools/power/x86/turbostat/turbostat.c