Permalink
Browse files

report trial time.

  • Loading branch information...
1 parent 9ac14cd commit 78c2ac9334e112ff4ee2756dc8cfe71ebfb88201 @chrisvest committed Jun 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 stormpot-benchmark/src/main/java/stormpot/benchmark/Bench.java
@@ -37,12 +37,12 @@ public final void report() {
double timeMean = ((double) timeSum) / trials;
String str = "Benchmark: %s\t" +
- "%s trials\t" +
+ "%s trials in % 3d ms.\t" +
"%.1f claim+release/sec\t" +
"latency(max, mean, min) = " +
"(% 3d, %.6f, %s) in millis.\n";
System.out.printf(
- str, name, trials, cyclesPerSec, timeMax, timeMean, timeMin);
+ str, name, trials, period, cyclesPerSec, timeMax, timeMean, timeMin);
}
public final String getName() {

0 comments on commit 78c2ac9

Please sign in to comment.