Commit f126852c by Dominic Hamon

simplify format string for complexity output

parent a24ef95e
...@@ -124,11 +124,9 @@ void ConsoleReporter::PrintRunData(const Run& result) { ...@@ -124,11 +124,9 @@ void ConsoleReporter::PrintRunData(const Run& result) {
big_o.c_str()); big_o.c_str());
} }
else if(result.report_rms) { 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.real_accumulated_time * multiplier * 100,
"%", result.cpu_accumulated_time * multiplier * 100);
result.cpu_accumulated_time * multiplier * 100,
"%");
} }
else if (result.iterations == 0) { else if (result.iterations == 0) {
ColorPrintf(COLOR_YELLOW, "%10.0f %s %10.0f %s ", ColorPrintf(COLOR_YELLOW, "%10.0f %s %10.0f %s ",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment