aboutsummaryrefslogtreecommitdiff
path: root/src/console_reporter.cc
diff options
context:
space:
mode:
authorDominic Hamon <dominic@google.com>2016-05-24 13:15:16 -0700
committerDominic Hamon <dominic@google.com>2016-05-24 13:15:16 -0700
commitf126852c8fe0cbd4f702d696b88d3ca8c4911499 (patch)
tree2e47c3d07a02cb9322dc47e73403b094d2b85b6e /src/console_reporter.cc
parenta24ef95e1199c463bb088d321caa1b0591817813 (diff)
downloadgoogle-benchmark-f126852c8fe0cbd4f702d696b88d3ca8c4911499.tar.gz
simplify format string for complexity output
Diffstat (limited to 'src/console_reporter.cc')
-rw-r--r--src/console_reporter.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/console_reporter.cc b/src/console_reporter.cc
index 242a94f..cf78a7f 100644
--- a/src/console_reporter.cc
+++ b/src/console_reporter.cc
@@ -124,11 +124,9 @@ void ConsoleReporter::PrintRunData(const Run& result) {
big_o.c_str());
}
else if(result.report_rms) {
- ColorPrintf(COLOR_YELLOW, "%10.0f %s %10.0f %s ",
+ ColorPrintf(COLOR_YELLOW, "%10.0f %% %10.0f %% ",
result.real_accumulated_time * multiplier * 100,
- "%",
- result.cpu_accumulated_time * multiplier * 100,
- "%");
+ result.cpu_accumulated_time * multiplier * 100);
}
else if (result.iterations == 0) {
ColorPrintf(COLOR_YELLOW, "%10.0f %s %10.0f %s ",