[PATCH 0/2][RFC] Add long time sampling time support

From: Chen Yu
Date: Tue Mar 31 2020 - 14:45:40 EST


Since the RAPL Joule Counter is 32 bit, turbostat would
only print a *star* to indicate the overflow due to long
duration.

Print the actual energy consumed for long sampling time.

Chen Yu (2):
tools/power turbostat: Make the energy variable to be 64 bit
tools/power turbostat: Introduce reliable RAPL display

tools/power/x86/turbostat/Makefile | 2 +-
tools/power/x86/turbostat/turbostat.c | 322 +++++++++++++++++++++++---
2 files changed, 287 insertions(+), 37 deletions(-)

--
2.17.1