mirror of https://github.com/google/benchmark.git
Fix right-alignment of items/s
This commit is contained in:
parent
3a01f8320b
commit
2ff306af30
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue