Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Nov 11, 2024
1 parent a631e45 commit c9c963f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/perf/org/jgroups/tests/perf/UPerf.java
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@ protected void printView() {
}

protected static String print(AverageMinMax avg, boolean details) {
if(avg == null)
return "n/a";
return details? String.format("min/avg/max = %,.2f/%,.2f/%,.2f us",
avg.min() / 1000.0, avg.average() / 1000.0, avg.max() / 1000.0) :
String.format("avg = %,.2f us", avg.average() / 1000.0);
Expand Down

0 comments on commit c9c963f

Please sign in to comment.