dbms: benchmark: fixed error [#METR-2944].

This commit is contained in:
Alexey Milovidov 2014-05-06 22:19:23 +04:00
parent cfac18bdd4
commit fed3d5ec68

View File

@ -273,7 +273,7 @@ private:
<< "result MiB/s: " << (info.result_bytes / seconds / 1048576) << "."
<< std::endl;
for (size_t percent = 0; percent < 90; percent += 10)
for (size_t percent = 0; percent <= 90; percent += 10)
std::cerr << percent << "%\t" << info.sampler.quantileInterpolated(percent / 100.0) << " sec." << std::endl;
std::cerr << "95%\t" << info.sampler.quantileInterpolated(0.95) << " sec." << std::endl;