Commit 649c765c authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

plot_model.py: improve wording in legend and title

parent c62e748e
......@@ -112,9 +112,9 @@ for numa_comp in range(topo.nb_numa_nodes_total):
CommCompGraphCommType.BANDWIDTH,
parser.compute_bench_type,
parser.compute_bench_type.default_metric,
title=f"Comp {numa_comp} Comm {numa_comm}",
comp_legend_title=cli_args.comp_kernel,
comm_legend_title="Network BW",
title=f"Comp. data on NUMA node {numa_comp} - Comm. data on NUMA node {numa_comm}",
comp_legend_title=f"Computation Bandwidth - {cli_args.comp_kernel}",
comm_legend_title="Network Bandwidth",
x_span_zone=x_span_zone)
if len(parser.comm_bw_alone_results) > 0:
......@@ -177,7 +177,7 @@ for numa_comp in range(topo.nb_numa_nodes_total):
max_comp = max(max_comp, max(comp_alone_upper_values))
graph.add_comp_curve(
[parser.comp_alone_results[op][x][metric]['avg'] for x in real_x_values],
f"{cli_args.comp_kernel} alone",
"alone",
CommCompGraphCurveType.ALONE,
False,
[parser.comp_alone_results[op][x][metric]['min'] for x in real_x_values],
......@@ -188,7 +188,7 @@ for numa_comp in range(topo.nb_numa_nodes_total):
comp_with_comm_values = [parser.comp_with_comm_results[op][x][metric]['avg'] for x in real_x_values]
graph.add_comp_curve(
comp_with_comm_values,
f"{cli_args.comp_kernel} while Communications",
"while Communications",
CommCompGraphCurveType.PARALLEL,
True,
[parser.comp_with_comm_results[op][x][metric]['min'] for x in real_x_values],
......@@ -203,7 +203,7 @@ for numa_comp in range(topo.nb_numa_nodes_total):
graph.add_comp_curve(
comp_values_model,
f"{cli_args.comp_kernel} - model",
"while Communications - model",
CommCompGraphCurveType.ALONE,
True,
display_line=True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment