Unix timers ...
Timer
can show CPU used time can show "wall" clock time resolution on Solaris 8
getrusage() yes no 10 millisec
gettimeofday() no yes 1 microsec
Links: