18 lines
373 B
Bash
18 lines
373 B
Bash
get_xp() {
|
|
grep -rn "identifier=$1" ./out/*/info.txt|grep -Po "^./out/\w+"|grep -Po '\w+$$'|uniq
|
|
}
|
|
|
|
extract_us() {
|
|
grep -Po '\d+µs' ./out/$1-$2/res/*.csv | grep -Po '\d+'
|
|
}
|
|
|
|
parse_latency() {
|
|
echo "run,conf,latency"
|
|
get_xp $1 | while read r; do
|
|
for i in $(seq 0 1 $2); do
|
|
extract_us $r $i | while read l; do
|
|
echo $r,$i,$l;
|
|
done
|
|
done
|
|
done
|
|
}
|