From 68ec7b847943ba3538eeee9766cbcc08af5f55c2 Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Mon, 14 Apr 2025 13:22:53 -0500 Subject: [PATCH] Fix START_TIME initialization to ensure accurate timestamping during sample collection --- runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtest.sh b/runtest.sh index ee242e2..ed10fde 100755 --- a/runtest.sh +++ b/runtest.sh @@ -58,10 +58,10 @@ while [ "$COUNTER" -lt "$NUM_TESTS" ]; do COUNTER=$((COUNTER + 1)) echo "Executing test $COUNTER of $NUM_TESTS..." - START_TIME=$(date -Iseconds) for ((i=1; i<=NUM_SAMPLES; i++)); do echo " Gathering sample $i of $NUM_SAMPLES..." + START_TIME=$(date -Iseconds) # Wireless stats link_level_noise=$(awk 'NR==3 {gsub(/\./, "", $3); gsub(/\./, "", $4); gsub(/\./, "", $5); print $3","$4","$5}' /proc/net/wireless)