Skip to content
Browse files

Merge pull request #2 from humcycles/bug-fix/double-usertime

Don't double usertime.
  • Loading branch information...
2 parents f6626a6 + feda733 commit 1fe4e84e939d7c7d4bed4ad4f806abab398f9bd3 @davglass 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 1fe4e84

Please sign in to comment.
Something went wrong with that request. Please try again.