Browse files

Don't double usertime.

  • Loading branch information...
1 parent f6626a6 commit b6720f38d8bd6d98ca63378e7bee2e96a2b10f98 @sethml sethml committed Nov 11, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 getrusage.cc
View
2 getrusage.cc
@@ -34,8 +34,6 @@ double getusertime(void) {
tim = ru.ru_stime;
double t=(double)tim.tv_sec + (double)tim.tv_usec / 1000000.0;
- tim=ru.ru_stime;
- t+=(double)tim.tv_sec + (double)tim.tv_usec / 1000000.0;
return t;
}

0 comments on commit b6720f3

Please sign in to comment.