diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-21 21:34:44 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-21 21:34:44 +0200 |
commit | cc9ad7b33b30f25f46b5091eaceea9994610f8e7 (patch) | |
tree | 6782f0602130cc85a2828e23f4228746b651873e /scripts/benchmark | |
parent | 4d340830393c7c4e67e8a97b24a14c9462bbf18f (diff) |
Removed the words SUMMARY from the title of the benchmark script when benchmarking the summary
Diffstat (limited to 'scripts/benchmark')
-rw-r--r-- | scripts/benchmark/benchmark.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/benchmark/benchmark.py b/scripts/benchmark/benchmark.py index 36da03a8..a5f216c6 100644 --- a/scripts/benchmark/benchmark.py +++ b/scripts/benchmark/benchmark.py @@ -88,7 +88,8 @@ def benchmark_single(benchmark, platform, device, num_runs, precision, load_from # The benchmark name and plot title benchmark_name = utils.precision_to_letter(precision) + benchmark.upper() - plot_title = benchmark_name if plot_title is "" else benchmark_name + ": " + plot_title + if benchmark.upper() != "SUMMARY": + plot_title = benchmark_name if plot_title is "" else benchmark_name + ": " + plot_title # Retrieves the benchmark settings if benchmark not in EXPERIMENTS.keys(): |