timetable: enable verbose processing

This commit is contained in:
Rodrigo Arias Mallo 2021-02-25 11:18:02 +01:00
parent c869b6e3b4
commit 9277e60079
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ stdenv.mkDerivation {
cd ${inputResult}/$exp/$unit
conf=garlic_config.json
for run in $(ls -d [0-9]* | sort -n); do
echo "processing unit=$unit run=$run"
awk '/^[0-9]+ +[0-9\.]+$/{print $1, $2}' $run/stdout.log | (
while read -r size latency; do
jq -cn "{ exp:\"$exp\", unit:\"$unit\", config:inputs, run:$run, \

View File

@ -19,6 +19,7 @@ stdenv.mkDerivation {
cd ${inputResult}/$exp/$unit
conf=garlic_config.json
for run in $(ls -d [0-9]* | sort -n); do
echo "processing unit=$unit run=$run"
time=$(awk '/^ ?time /{print $2}' $run/stdout.log)
if [ -z "$time" ]; then
echo "error: cannot match \"time\" line"