From 130a283abe19f81dda155a68ad761312c8917a31 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 31 Jul 2019 15:55:32 -0700 Subject: [PATCH] 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 beaa4366..f82c53bc 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);