Skip to content

Commit

Permalink
[metrics]fix lastRate & meanRate long/double problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenning Xu committed Nov 21, 2014
1 parent 5e0ae65 commit 16bb5da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ private void printHistogram(HistogramMetric histogram) {

private void printTimer(TimerMetric timer) {
output.printf(" count = %d%n", timer.counterMetric.totalCount);
output.printf(" last rate = %2.2f/s%n", timer.counterMetric.lastRate);
output.printf(" mean rate = %2.2f/s%n", timer.counterMetric.meanRate);
output.printf(" last rate = %d%n", timer.counterMetric.lastRate);
output.printf(" mean rate = %d%n", timer.counterMetric.meanRate);
output.printf(" min = %d ms%n", timer.histogramMetric.min);
output.printf(" max = %d ms%n", timer.histogramMetric.max);
output.printf(" mean = %2.2f ms%n", timer.histogramMetric.mean);
Expand Down

0 comments on commit 16bb5da

Please sign in to comment.