replaced getrusage with gettimeofday for now in bonnie