Create analyse_results.sh
This commit is contained in:
parent
ead00b5e8a
commit
79b6a837f8
@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
NAME=`basename "$1" .txt.bz2`
|
||||
echo $NAME
|
||||
# NAME=`basename "$1" .txt.bz2`
|
||||
# echo $NAME
|
||||
NAME=$1
|
||||
|
||||
#bzcat $1 | awk '/^Iteration [:digit:]*[.]*/ ' > "${NAME}-iterations.txt"
|
||||
#rm "${NAME}-results.csv.bz2"
|
||||
|
18
cache_utils/analyse_results.sh
Executable file
18
cache_utils/analyse_results.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# Assumes the input file has no extension and isn't bzip compressed
|
||||
# Automatically runs the different analysis scripts
|
||||
|
||||
exit_echo () {
|
||||
echo $@;
|
||||
exit 1;
|
||||
}
|
||||
|
||||
[[ $1 ]] || exit_echo "Usage: $0 <file>";
|
||||
[[ -f $1.slices.csv ]] || exit_echo "$1.slices.csv not found"
|
||||
[[ -f $1.cores.csv ]] || exit_echo "$1.cores.csv not found"
|
||||
|
||||
bash 2T/analyse.sh $1
|
||||
|
||||
. venv/bin/activate
|
||||
python analyse_csv.py $1
|
||||
python analyse_medians.py $1
|
Loading…
Reference in New Issue
Block a user