Skip to content

tools/power turbostat: Enable accumulated energy consumption for long time sampling

Chen Yu linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 13 repliesIn review
  2. v2 RFC3 patches 4 repliesSuperseded
  3. v1 RFC2 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools/power turbostat: Make the energy variable to be 64 bittools/power/x86/turbostat/turbostat.c+13 -170 replies
2/3tools/power turbostat: Introduce functions to accumulate RAPL consumptiontools/power/x86/turbostat/Makefile tools/power/x86/turbostat/turbostat.c+219 -70 replies
3/3tools/power turbostat: Enable accumulate RAPL displaytools/power/x86/turbostat/turbostat.c+16 -2213 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAaron LuDoug SmythiesKurt Garloff
1/3
2/3Originally-by R-b T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH 0/3][v3] tools/power turbostat: Enable accumulated energy consumption for long time sampling

The RAPL Joule Counter is 32 bit, turbostat would only print a *star* instead of printing the actual energy consumed due to the overflow of RAPL register.

Introduce the accumulated RAPL mechanism to avoid the possible overflow.

Chen Yu (3):
tools/power turbostat: Make the energy variable to be 64 bit tools/power turbostat: Introduce functions to accumulate RAPL
consumption
tools/power turbostat: Enable accumulate RAPL display

 tools/power/x86/turbostat/Makefile    |   2 +-
 tools/power/x86/turbostat/turbostat.c | 292 ++++++++++++++++++++++----
 2 files changed, 248 insertions(+), 46 deletions(-)
Signature · 1 line
2.17.1