From e0e929ce1d071224541b7fbefb8cffb0062b493c Mon Sep 17 00:00:00 2001 From: Ben Stewart Date: Wed, 14 Aug 2024 09:41:02 +0100 Subject: [PATCH] Latency_cutoff_ratio now to 2dp --- base_loadgen_experiment/code_axs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_loadgen_experiment/code_axs.py b/base_loadgen_experiment/code_axs.py index 44aa355..b05317d 100755 --- a/base_loadgen_experiment/code_axs.py +++ b/base_loadgen_experiment/code_axs.py @@ -96,7 +96,7 @@ def parse_performance(beautified_summary, latency_cutoff_ratio, scenario_perform else: #no need for multiplier, formatting, units in scenario_performance_map - the beautify_summary function does all of this already if key_name == "latency_cutoff_ratio": - formatted_performance_metrics.append('{}={}'.format(key_name, latency_cutoff_ratio)) + formatted_performance_metrics.append('{}={:.2f}'.format(key_name, latency_cutoff_ratio)) else: formatted_performance_metrics.append('{}={}'.format(key_name, beautified_summary[key_name]))