mirror of
https://github.com/google/benchmark.git
synced 2024-11-25 22:47:20 +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) {
|
||||
std::string s = HumanReadableNumber(c.second.value);
|
||||
const char* unit = ((c.second.flags & Counter::Flags::kIsRate) ?
|
||||
"/s" : "");
|
||||
printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit);
|
||||
std::string s = HumanReadableNumber(c.second.value);
|
||||
const char* unit = ((c.second.flags & Counter::kIsRate) ? "/s" : "");
|
||||
printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit);
|
||||
}
|
||||
|
||||
if (!rate.empty()) {
|
||||
|
|
Loading…
Reference in a new issue