Permalink
Browse files

Don't double usertime.

Fixes issue #1.
  • Loading branch information...
1 parent f6626a6 commit feda7331f8baaa1d7263503d0a098be4d5641e4d @sethml sethml committed Nov 11, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 getrusage.cc
View
@@ -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 feda733

Please sign in to comment.