#!/bin/bash # Bash to automatize data collecting for animation rendering: # - # - for ANIM_TIME in 5; do DURATION=$ANIM_TIME for N_OF_PARTICLES in 5 28 49 50 77 110 162; do MULTIPLICITY=$N_OF_PARTICLES # Multiplicity | Animation duration | [e] Real Time (s) | [S] Kernel Time (s) | [U] User Time (s) | [M] Process Maximum (kB) | [t] Process Average (kB) | [K] Average Memory (kB) | /usr/bin/time -a -o 'rendimento.dat' -f "$MULTIPLICITY $DURATION %e %S %U %M %t %K" ./workflow_sketch.sh -t ${DURATION} -c Overview,Barrel,Forward -n 1 --minparticles ${MULTIPLICITY} --maxparticles ${MULTIPLICITY} done done