Skip to content
Snippets Groups Projects
Unverified Commit e24330d6 authored by Luca Capello's avatar Luca Capello
Browse files

s/StressAppTest/stressapptest_CurrentWatts.sh: sleep at end, too

parent f85e9018
No related branches found
No related tags found
No related merge requests found
......@@ -49,4 +49,10 @@ echo "I: running..."
CURRENTWATTS_HIGHEST=${CURRENTWATTS_NOW}
fi
done
echo "W: waiting $(expr ${SLEEP_TIME} / 2) seconds before getting the maximum value..."
sleep $(expr ${SLEEP_TIME} / 2)
CURRENTWATTS_FINAL=$(get_CurrentWatts)
[ ${CURRENTWATTS_HIGHEST} -lt ${CURRENTWATTS_FINAL} ] && \
CURRENTWATTS_HIGHEST=${CURRENTWATTS_FINAL}
echo "I: highest: ${CURRENTWATTS_HIGHEST}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment