Skip to content
Snippets Groups Projects
Commit 67f1a1e4 authored by Peter Cai's avatar Peter Cai
Browse files

perf_breakdown: Discard last few seconds of experiments

Even if we round down to a multiple of 5, we are still including a large part of the shutdown phase. Remove this.
parent c794b027
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ EXP_END="$(echo "$PERF_HEADERS" | grep "# time of last sample :" | rev | cut -d'
printf 'Experiment: %d - %d\n' $EXP_START $EXP_END | tee breakdown.txt
MEASURE_END=$((EXP_END - (EXP_END - EXP_START) % 5))
MEASURE_END=$((EXP_END - (EXP_END - EXP_START) % 5 - 5))
MEASURE_START=$((MEASURE_END - 10))
printf 'Measurement Interval: %d - %d\n' $MEASURE_START $MEASURE_END | tee -a breakdown.txt
......
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