[code lang=“bash“]…
basetime=$(date +%s%N)
…
echo „runtime: $(echo „scale=3;($(date +%s%N) – ${basetime})/(1*10^09)“ | bc) seconds“[/code]
[code lang=“bash“]…
basetime=$(date +%s%N)
…
echo „runtime: $(echo „scale=3;($(date +%s%N) – ${basetime})/(1*10^09)“ | bc) seconds“[/code]