change histogram counts write to log format

This commit is contained in:
Fuheng Zhao 2021-08-18 18:52:44 -07:00
parent 448ffe7931
commit dc31064e96
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ void Histogram::writeToLog() {
e.detail(format("LessThan%f", (i + 1) * 0.04), buckets[i]);
break;
case Unit::count:
e.detail(format("LessThan%f", (i + 1) * ((upperBound - lowerBound) / 31.0)), buckets[i]);
e.detail(format("LessThan%.2f", (i + 1) * ((upperBound - lowerBound) / 31.0)), buckets[i]);
break;
default:
ASSERT(false);