Fix right-alignment of items/s

This commit is contained in:
Dominic Hamon 2014-01-07 14:33:59 -08:00
parent 3a01f8320b
commit 2ff306af30
1 changed files with 3 additions and 1 deletions

View File

@ -371,7 +371,9 @@ void ConsoleReporter::PrintRunData(const BenchmarkRunData& result) {
(result.cpu_accumulated_time * 1e9) / (result.cpu_accumulated_time * 1e9) /
(static_cast<double>(result.iterations))); (static_cast<double>(result.iterations)));
ColorPrintf(COLOR_CYAN, "%10lld", result.iterations); ColorPrintf(COLOR_CYAN, "%10lld", result.iterations);
ColorPrintf(COLOR_DEFAULT, "%*s %s %s%s\n", 16, rate.c_str(), items.c_str(), ColorPrintf(COLOR_DEFAULT, "%*s %*s %s%s\n",
16, rate.c_str(),
18, items.c_str(),
result.report_label.c_str(), result.report_label.c_str(),
PrintMemoryUsage(result.max_heapbytes_used).c_str()); PrintMemoryUsage(result.max_heapbytes_used).c_str());
} }