From e28eddc51fc7bf05a82cad2357f6644a2b880dd0 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 8 Sep 2007 15:58:51 +0000 Subject: [PATCH] Typo? Why did this work, anyway? --- apps/apps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/apps.c b/apps/apps.c index d2b0c565a0..7bac3f3e29 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -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; -- 2.34.1