Simple stopwatch module using gettimeofday().