Skip to content

Commit

Permalink
test changes
Browse files Browse the repository at this point in the history
Signed-off-by: Gagan Juneja <[email protected]>
  • Loading branch information
Gagan Juneja committed Jul 18, 2024
1 parent 14c582c commit 82c9e82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private double calculateCPUUtilization(long phaseStartTime, long phaseCPUStartTi
long totalCpuTime =
Math.min(0, (threadMXBean.getCurrentThreadCpuTime() - phaseCPUStartTime));
return Utils.calculateCPUUtilization(
totalCpuTime, scClkTck, phaseStartTime - System.nanoTime());
totalCpuTime, scClkTck, System.nanoTime() - phaseStartTime);
}

@VisibleForTesting
Expand Down

0 comments on commit 82c9e82

Please sign in to comment.