From cceadc0aaf59eb9b9a18eec722e88ba3f81643ac Mon Sep 17 00:00:00 2001
From: Georges Da Costa <dacosta@irit.fr>
Date: Sun, 17 Dec 2023 14:49:10 +0100
Subject: [PATCH] Adds units to RAPL

---
 src/amd_rapl.h | 2 +-
 src/rapl.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/amd_rapl.h b/src/amd_rapl.h
index e58cc16..5c555b2 100644
--- a/src/amd_rapl.h
+++ b/src/amd_rapl.h
@@ -37,6 +37,6 @@ Optparse amd_rapl_opt[1] = {
         .shortname = 'r',
         .argtype = OPTPARSE_NONE,
         .usage_arg = NULL,
-        .usage_msg = "AMD RAPL",
+        .usage_msg = "AMD RAPL (micro-joules)",
     },
 };
diff --git a/src/rapl.h b/src/rapl.h
index 7720f07..25b7521 100644
--- a/src/rapl.h
+++ b/src/rapl.h
@@ -37,7 +37,7 @@ Optparse rapl_opt[1] = {
         .shortname = 'r',
         .argtype = OPTPARSE_NONE,
         .usage_arg = NULL,
-        .usage_msg = "INTEL RAPL",
+        .usage_msg = "INTEL RAPL (micro-joules)",
     },
 };
 
-- 
GitLab