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
52d6238a
Commit
52d6238a
authored
Jan 14, 2022
by
Philippe SWARTVAGHER
Browse files
plot_model: add axis labels to stacked plots
parent
1aa073aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/plot_model.py
View file @
52d6238a
...
...
@@ -234,7 +234,7 @@ for numa_comp in range(topo.nb_numa_nodes_total):
ax
.
grid
(
axis
=
'y'
)
ax
.
xaxis
.
set_major_locator
(
MaxNLocator
(
integer
=
True
))
ax
.
set_axisbelow
(
True
)
ax
.
set
(
title
=
f
"Comp
{
numa_comp
}
Comm
{
numa_comm
}
"
)
ax
.
set
(
title
=
f
"Comp
{
numa_comp
}
Comm
{
numa_comm
}
"
,
xlabel
=
"Number of computing Cores"
,
ylabel
=
"Memory Bandwidth (MB/s)"
)
plt
.
savefig
(
f
"
{
cli_args
.
comp_kernel
}
/comp_
{
numa_comp
}
_comm_
{
numa_comm
}
_stacked
{
picture_file_suffix
}
"
)
...
...
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