Skip to content

Commit

Permalink
Update LoopChecker.cpp
Browse files Browse the repository at this point in the history
This is a test of the cpp CodeQL configuration. NO PLANS TO MERGE.
  • Loading branch information
elaguerta-nr committed Jul 1, 2024
1 parent 1b17b74 commit a8e7b35
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/LoopChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ uint64_t getUsageSumInUS() {
uv_rusage_t usage;
uv_getrusage(&usage);
return (
usage.ru_utime.tv_sec * SEC_TO_MICRO +
usage.ru_utime.tv_usec +
usage.ru_stime.tv_sec * SEC_TO_MICRO +
usage.ru_stime.tv_usec
usage.ru_utime.tv_sec * SEC_TO_MICRO // less math
);
}

Expand Down

0 comments on commit a8e7b35

Please sign in to comment.