mirror of
https://github.com/google/benchmark.git
synced 2024-11-29 09:36:49 +00:00
Fix indentation.
[ci-skip]
This commit is contained in:
parent
77b9362b06
commit
eb2bf34524
|
@ -132,10 +132,9 @@ void ConsoleReporter::PrintRunData(const Run& result) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto& c : result.counters) {
|
for (auto& c : result.counters) {
|
||||||
std::string s = HumanReadableNumber(c.second.value);
|
std::string s = HumanReadableNumber(c.second.value);
|
||||||
const char* unit = ((c.second.flags & Counter::Flags::kIsRate) ?
|
const char* unit = ((c.second.flags & Counter::kIsRate) ? "/s" : "");
|
||||||
"/s" : "");
|
printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit);
|
||||||
printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!rate.empty()) {
|
if (!rate.empty()) {
|
||||||
|
|
Loading…
Reference in a new issue