*) error "Unknown load specification: $2";;
esac;
shift 2;;
+ -u) OPT_UPDATE=1; shift;;
esac
done
}
_measure() {
+ if [[ "$OPT_UPDATE" && -f plot.sh && ( plot.sh -nt $test.sh ) ]]; then echo "skiping: up-to-date"; return; fi
# Remove data from the last measurement
rm -rf *
# Kill load generators left possibly from the past runs