Commit bc8fd522 authored by Dominic Etienne Charrier's avatar Dominic Etienne Charrier
Browse files

e0_performance-studies.tex: Adjust line breaks. This code environment is...

e0_performance-studies.tex: Adjust line breaks. This code environment is fascinating. It trims whitespaces but does not introduce line breaks.
parent 1e2ff0fa
......@@ -544,11 +544,13 @@ Assume your CSV table contains measurements for multiple polynomial orders and y
want to compute the speedup for a specific one.
In this case you can run, e.g.:
\begin{code}
./tableslicer.py <mypath>/<myproject>-timestep-times.csv --cols order cores realtime_min --filter order=5 | ./speedupcalculator.py
./tableslicer.py <mypath>/<myproject>-timestep-times.csv\
--cols order cores realtime_min --filter order=5 | ./speedupcalculator.py
\end{code}
Bash further allows writing for loops. Therefore, you can compute speedups for all considered orders (3,5,7 in our example)
quite easily:
\begin{code}
for o in 3 5 7; do ./tableslicer.py <mypath>/<myproject>-timestep-times.csv --cols order cores realtime_min --filter order=$o | ./speedupcalculator.py; done
for o in 3 5 7; do ./tableslicer.py <mypath>/<myproject>-timestep-times.csv\
--cols order cores realtime_min --filter order=$o | ./speedupcalculator.py; done
\end{code}
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