Typo? Why did this work, anyway?

This commit is contained in:
Ben Laurie 2007-09-08 15:58:51 +00:00
parent d82a612a90
commit e28eddc51f

View file

@ -2602,7 +2602,7 @@ double app_tminterval(int stop,int usertime)
struct timeval now;
static struct timeval tmstart;
if (usertime) getrusage(RUSAGE_SELF,&rus), now = rus.ru_time;
if (usertime) getrusage(RUSAGE_SELF,&rus), now = rus.ru_utime;
else gettimeofday(&now,NULL);
if (stop==TM_START) tmstart = now;