From 7155f7089c465665806ff1864e713cbf1e50bc07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= Date: Mon, 9 Dec 2024 14:25:19 +0100 Subject: [PATCH] tests/power_usage: Use the max value for the wall consumption combination plot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The wall power consumption comes from an MQTT subscription, which does not poll the like the other runners. As such, using the maximum value for the combination plots makes more sense than trying to compute a mean value. Signed-off-by: Toke Høiland-Jørgensen --- flent/tests/power_usage.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flent/tests/power_usage.conf b/flent/tests/power_usage.conf index 7731e1f2..e04b3356 100644 --- a/flent/tests/power_usage.conf +++ b/flent/tests/power_usage.conf @@ -61,7 +61,8 @@ PLOTS = o([ 'cutoff': (DELAY,-DELAY)}, {'data': 'mqtt_power', 'label': 'Wall plug consumption', - 'cutoff': (DELAY,-DELAY)}, + 'combine_mode': 'raw_max', + 'raw_key': 'value'}, ]}), ('cpu_runners', {'description': 'Number of CPU runners',