Fix incorrect stat reporting

With the default Logger, mutilate was reporting the stddev as the
minimum and the minimum as the 1st percentile.
This commit is contained in:
Dan Schatzberg 2015-10-01 10:18:16 -04:00
parent d65c6ef7c2
commit f234003054

View File

@ -200,8 +200,8 @@ class ConnectionStats {
} }
printf("%-7s %7.1f %7.1f %7.1f %7.1f %7.1f %7.1f %7.1f %7.1f", printf("%-7s %7.1f %7.1f %7.1f %7.1f %7.1f %7.1f %7.1f %7.1f",
tag, sampler.average(), sampler.stddev(), tag, sampler.average(),
sampler.get_nth(0), /*sampler.get_nth(1),*/ sampler.get_nth(5), sampler.get_nth(0), sampler.get_nth(1), sampler.get_nth(5),
sampler.get_nth(10), sampler.get_nth(90), sampler.get_nth(10), sampler.get_nth(90),
sampler.get_nth(95), sampler.get_nth(99)); sampler.get_nth(95), sampler.get_nth(99));