* print out elapsed seconds on each build cycle
This commit is contained in:
parent
47fac34125
commit
d3074d9532
|
@ -5,7 +5,8 @@ cd /root/
|
|||
hosts="try1 try2 try3 try4 try5"
|
||||
|
||||
for host in ${hosts}; do
|
||||
echo start {host}
|
||||
START=`date +%s`
|
||||
echo STARTDOKERN {host} $START
|
||||
date -u
|
||||
sync
|
||||
|
||||
|
@ -27,6 +28,9 @@ for host in ${hosts}; do
|
|||
/root/benchmarks/kernel/build.pl --clean
|
||||
date -u
|
||||
sync
|
||||
echo end {host}
|
||||
END=`date +%s`
|
||||
ELAPSE=$(( $END - $START ))
|
||||
echo ENDDOKERN {host} $END
|
||||
echo ELAPSEDOKERN $ELAPSE
|
||||
date -u
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue