RFR: 7903618: JMH: Add power events to perf profilers

Marc Schreiber duke at openjdk.org
Fri Jan 19 22:07:30 UTC 2024


The Linux tool perf provides collecting energy consumption via Intel's RAPL API. Today's climate crisis does not need to have tools to be as performant as possible it also requires software to be as energy efficient as possible. Thus measuring the energy consumption of processes is a crucial tool.

-------------

Commit messages:
 - Collecting Energy Events from Perf

Changes: https://git.openjdk.org/jmh/pull/126/files
 Webrev: https://webrevs.openjdk.org/?repo=jmh&pr=126&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903618
  Stats: 58 lines in 1 file changed: 50 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jmh/pull/126.diff
  Fetch: git fetch https://git.openjdk.org/jmh.git pull/126/head:pull/126

PR: https://git.openjdk.org/jmh/pull/126


More information about the jmh-dev mailing list