From 19f08571283113d8650e07c058d58b5362241ac7 Mon Sep 17 00:00:00 2001 From: Andreas Lindhé Date: Sun, 15 Oct 2017 08:58:40 +0200 Subject: Add timestamps to measurements --- broccoli/script/measure-packets.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/broccoli/script/measure-packets.sh b/broccoli/script/measure-packets.sh index 9db9228..53074ee 100644 --- a/broccoli/script/measure-packets.sh +++ b/broccoli/script/measure-packets.sh @@ -74,12 +74,14 @@ IDLE=$(echo "${IDLECPU}+5.0" | bc); echo "Idle baseload is: $IDLE"; execute_command "killall bro" +echo "Starting time: $(date +'%F_%T')" + echo -ne "sent\t" for SPEED in ${SPEEDS[@]} do echo -ne "${SPEED}\t" done -echo +echo "time" for COUNT in ${COUNTS[@]} do @@ -89,7 +91,7 @@ do COUNT_RECEIVED=$(measure_packets ${SPEED} ${COUNT}) echo -ne "${COUNT_RECEIVED}\t" done - echo + echo "$(date +'%F_%T')" done execute_command "rm -rf \"${BRO_DIR}\"" -- cgit v1.2.3