11 lines
776 B
Bash
Executable file
11 lines
776 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "naive latencies global"
|
|
{ echo "delta" ; ls|grep xp1-|while read -r line; do cat $line/res/*.txt|grep -Po "\d*µs"|grep -Po "\d*"; done } > naive_latencies_global.csv
|
|
echo "naive latencies distri"
|
|
{ echo "hs,type,delta";ls|grep xp1-|while read -r line; do cat $line/res/*.txt|grep -Po "\d*µs"|grep -Po "\d*"|python3 ./format-data.py $line; done } > naive_latencies_distri.csv
|
|
|
|
echo "orig latencies global"
|
|
{ echo "delta" ; ls|grep xp2-|while read -r line; do cat $line/res/*.csv|grep -Po "\d*µs"|grep -Po "\d*"; done } > orig_latencies_global.csv
|
|
echo "orig latencies distri"
|
|
{ echo "hs,type,delta";ls|grep xp2-|while read -r line; do cat $line/res/*.csv|grep -Po "\d*µs"|grep -Po "\d*"|python3 ./format-data.py $line; done } > orig_latencies_distri.csv
|