Fix START_TIME initialization to ensure accurate timestamping during sample collection
This commit is contained in:
parent
748a0ec911
commit
68ec7b8479
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue