mirror of
https://gitlab.com/manzerbredes/loosely-coupled-dss-extended.git
synced 2025-06-26 23:37:41 +00:00
Cleaning repository
This commit is contained in:
parent
42594cfab4
commit
8260634af4
80 changed files with 169459 additions and 541081 deletions
18
analysis/scheduler/analysis.sh
Executable file
18
analysis/scheduler/analysis.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
wai=$(dirname $(readlink -f "$0")) # Current script directory
|
||||
|
||||
log=$1
|
||||
out=$2
|
||||
|
||||
# Generate csv
|
||||
cat $log | $wai/wakeup.awk > $wai/wakeup.csv
|
||||
cat $log | $wai/data.awk > $wai/data.csv
|
||||
cat $log | $wai/hint.awk > $wai/hint.csv
|
||||
cat $log | $wai/hint_fw.awk > $wai/hint_fw.csv
|
||||
|
||||
cd $wai
|
||||
Rscript ./wakeup.R &> /dev/null || { echo "Schduler data analysis failed"; exit 1; }
|
||||
cd - > /dev/null
|
||||
|
||||
mv $wai/schedule.png $out
|
Loading…
Add table
Add a link
Reference in a new issue