Skip to content

Commit

Permalink
tests/power_usage: Use the max value for the wall consumption combina…
Browse files Browse the repository at this point in the history
…tion plot

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 <[email protected]>
  • Loading branch information
tohojo committed Dec 9, 2024
1 parent 73877e5 commit 7155f70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flent/tests/power_usage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 7155f70

Please sign in to comment.