WIP parsing
This commit is contained in:
parent
bc9ac1c559
commit
ae1afef215
2 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
SHELL := /bin/bash
|
||||||
|
|
||||||
|
test:
|
||||||
|
. parse_lib.sh && \
|
||||||
|
get_xp tor_bw_small | while read r; do \
|
||||||
|
for i in 0 1 2 3; do \
|
||||||
|
extract_us $$r $$i; \
|
||||||
|
done; \
|
||||||
|
done;
|
||||||
|
|
||||||
tor_bw_small:
|
tor_bw_small:
|
||||||
./run-3 \
|
./run-3 \
|
||||||
1,tor_bw_small . \
|
1,tor_bw_small . \
|
||||||
|
|
7
scripts/parse_lib.sh
Normal file
7
scripts/parse_lib.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
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+'
|
||||||
|
}
|
Loading…
Reference in a new issue