[sysprof] rapl: use "Watts" for line displays
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] rapl: use "Watts" for line displays
- Date: Wed, 31 Jul 2019 22:57:20 +0000 (UTC)
commit 130a283abe19f81dda155a68ad761312c8917a31
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 31 15:55:32 2019 -0700
rapl: use "Watts" for line displays
src/libsysprof-ui/sysprof-rapl-aid.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libsysprof-ui/sysprof-rapl-aid.c b/src/libsysprof-ui/sysprof-rapl-aid.c
index beaa436..f82c53b 100644
--- a/src/libsysprof-ui/sysprof-rapl-aid.c
+++ b/src/libsysprof-ui/sysprof-rapl-aid.c
@@ -180,6 +180,7 @@ sysprof_rapl_aid_present_finish (SysprofAid *aid,
"height-request", 35,
"visible", TRUE,
"y-lower", 0.0,
+ "units", "Watts",
NULL);
sysprof_visualizer_group_insert (energy, SYSPROF_VISUALIZER (all), 0, FALSE);
@@ -209,6 +210,7 @@ sysprof_rapl_aid_present_finish (SysprofAid *aid,
"height-request", 20,
"visible", FALSE,
"y-lower", 0.0,
+ "units", "Watts",
NULL);
g_hash_table_insert (cat_to_row, (gchar *)ctr->category, row);
sysprof_visualizer_group_insert (energy, SYSPROF_VISUALIZER (row), -1, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]