Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
manycore
emper-io-eval
Commits
420c8e19
Commit
420c8e19
authored
May 30, 2022
by
Florian Fischer
Browse files
improve throughput plots
parent
37811067
Changes
2
Hide whitespace changes
Inline
Side-by-side
plot.py
View file @
420c8e19
...
...
@@ -81,16 +81,18 @@ def build_tikz(stats,
yminorticks=false,
ymajorgrids=true,
height=7.5cm,
width=
10
cm,
width=
9
cm,
enlarge x limits={
auto,
value=0.04,
},
ylabel={Thousand echos/
\\
unit{
\\
s}},
xlabel={Connections},
legend columns=3,
legend style={
at={(.5,
1.05
)},
at={(.5,
-.3
)},
anchor=south,
font=
\\
s
criptsize
,
font=
\\
s
mall
,
draw=none,
fill=none,
},
...
...
@@ -116,9 +118,6 @@ $table};
tail
=
Template
(
"""
\\
end{groupplot}
\\
draw ($$(plots c1r1.south) + (0,-0.4)$$) node[anchor=north] (xlabel) {
\\
textbf{Connections}};
\\
draw ($$(plots c1r1.west) + (-0.8,0)$$) node[anchor=south,rotate=90] (ylabel) {
\\
textbf{$y_label}};
\\
node (title) at ($$(plots c1r1.south) - (0,1.2)$$) {$title};
\\
end{tikzpicture}
...
...
@@ -135,7 +134,7 @@ $table};
impl_map_name
=
impl
.
replace
(
'_'
,
'-'
)
c_map
=
''
for
i
,
cons
in
enumerate
(
all_cons
):
y_val
=
_eval_with_stat
(
y_expression
,
impl_stats
[
cons
],
'me
di
an'
)
y_val
=
_eval_with_stat
(
y_expression
,
impl_stats
[
cons
],
'mean'
)
data_row
=
f
'
{
i
}
\t
{
y_val
}
\t
'
...
...
plots/common.tex
View file @
420c8e19
% common tex usepackages, command and color definitions
\usepackage
{
siunitx
}
\usepackage
{
xparse
}
\providecommand
{
\emper
}{
EMPER
}
\providecommand
{
\waitfd
}{
\texttt
{
suspendfd
}}
\usepackage
{
pgfplots
}
\pgfplotsset
{
compat=1.16
}
...
...
Write
Preview
Supports
Markdown
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