Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philippe SWARTVAGHER
memory-contention
Commits
649c765c
Commit
649c765c
authored
Jan 20, 2022
by
Philippe SWARTVAGHER
Browse files
plot_model.py: improve wording in legend and title
parent
c62e748e
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/plot_model.py
View file @
649c765c
...
...
@@ -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 B
W
"
,
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 B
andwidth
"
,
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment