Use gettimeofday/getrusage