diff options
author | Dominic Hamon <dominic@google.com> | 2016-05-26 14:01:28 -0700 |
---|---|---|
committer | Dominic Hamon <dominic@google.com> | 2016-05-26 14:01:28 -0700 |
commit | d6bc7e1581c4c8c6c3fcccd093c047158b4bf461 (patch) | |
tree | 71874c76455278edf173d8023c864f928f47d087 /src/console_reporter.cc | |
parent | 3ff8a6ecc8bfbfa62af85ccfc07b035149eb13cb (diff) | |
parent | c1c7d33279b463088550986fe6f311a3ad2faa2e (diff) | |
download | google-benchmark-d6bc7e1581c4c8c6c3fcccd093c047158b4bf461.tar.gz |
Merge branch 'update_complexity' of git://github.com/ismaelJimenez/benchmark into ismaelJimenez-update_complexity
Diffstat (limited to 'src/console_reporter.cc')
-rw-r--r-- | src/console_reporter.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console_reporter.cc b/src/console_reporter.cc index 3944666..5dd98f6 100644 --- a/src/console_reporter.cc +++ b/src/console_reporter.cc @@ -13,6 +13,7 @@ // limitations under the License. #include "benchmark/reporter.h" +#include "complexity.h" #include <cstdint> #include <cstdio> @@ -129,7 +130,7 @@ void ConsoleReporter::PrintRunData(const Run& result) { std::tie(timeLabel, multiplier) = GetTimeUnitAndMultiplier(result.time_unit); if(result.report_big_o) { - std::string big_o = result.report_big_o ? GetBigO(result.complexity) : ""; + std::string big_o = result.report_big_o ? GetBigOString(result.complexity) : ""; ColorPrintf(COLOR_YELLOW, "%10.4f %s %10.4f %s ", result.real_accumulated_time * multiplier, big_o.c_str(), |