experimenting with gettimeofday() in c