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
Olena
olena
Commits
55fd2b0c
Commit
55fd2b0c
authored
Jan 11, 2011
by
Roland Levillain
Browse files
apps/bench: New (postprocessing) script: list2table.
* apps/bench/list2table: New.
parent
90d29df9
Changes
2
Hide whitespace changes
Inline
Side-by-side
milena/ChangeLog
View file @
55fd2b0c
2011-01-11 Roland Levillain <roland@lrde.epita.fr>
apps/bench: New (postprocessing) script: list2table.
* apps/bench/list2table: New.
2011-01-11 Roland Levillain <roland@lrde.epita.fr>
apps/bench: Split dilation-lena-bench.
milena/apps/bench/list2table
0 → 100755
View file @
55fd2b0c
#! /bin/sh
set
-e
# Like read, but ignores empty values.
readval
()
{
val
=
while
test
-z
"
$val
"
&&
read
val
;
do
:
;
done
echo
"
$val
"
}
for
i
in
a1 b1 c1 d1 e1
\
a2 b2 c2 d2 e2
\
a3 b3 c3 d3 e3
;
\
do
eval
$i
=
$(
readval
)
done
cat
<<
EOF
% Generated, do not modify.
\b
egin{table}[tbp]
\c
entering
\b
egin{tabular}{lrrr}
\h
line
Implementation &
\m
ulticolumn{3}{c}{Execution times (s)}
\\\\
&
\$
512^2
\$
&
\$
1024^2
\$
&
\$
2048^2
\$
\\\\
\h
line
\h
line
Non generic (
\a
lgref{lst:non-gen-dilation}) &
$a1
&
$a2
&
$a3
\\\\
\h
line
Non generic, pointer-based
\f
ootnotemark[1] &
$b1
&
$b2
&
$b3
\\\\
\h
line
Generic (
\a
lgref{lst:gen-dilation}) &
$c1
&
$c2
&
$c3
\\\\
\h
line
Fast, partially generic (
\a
lgref{lst:fast-dilation}) &
$d1
&
$d2
&
$d3
\\\\
\h
line
Fast, partially generic with &
$e1
&
$e2
&
$e3
\\\\
static window (
\a
lgref{lst:fast-static-dilation}) & & &
\\\\
\h
line
\e
nd{tabular}
\c
aption{Execution times of various dilation implementations.}
\l
abel{tab:results}
\e
nd{table}
\f
ootnotetext[1]{Implementation not shown in this paper for space
reasons.}
EOF
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