how to calculate program excecute time.
I created one shell to calculate the program exceution time.
END=`date +%s`
sleep 30
START=`data +%s`
TIME="expr $END - $START"
echo "Process Time: $TIME"
However, the calculation just can gime the time with second level.
I wonder how to calculate the time with ms even more accurately.
Thank u.
|