From a24ef95e1199c463bb088d321caa1b0591817813 Mon Sep 17 00:00:00 2001 From: Ismael Date: Tue, 24 May 2016 20:48:34 +0200 Subject: [PATCH] adapt complexity_n to leastsq inteface --- include/benchmark/reporter.h | 2 +- src/benchmark.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/benchmark/reporter.h b/include/benchmark/reporter.h index f37ef20d..a9124883 100644 --- a/include/benchmark/reporter.h +++ b/include/benchmark/reporter.h @@ -70,7 +70,7 @@ class BenchmarkReporter { // Keep track of arguments to compute asymptotic complexity BigO complexity; - size_t complexity_n; + int complexity_n; // Inform print function whether the current run is a complexity report bool report_big_o; diff --git a/src/benchmark.cc b/src/benchmark.cc index e13fa522..84f88edf 100644 --- a/src/benchmark.cc +++ b/src/benchmark.cc @@ -119,7 +119,7 @@ struct ThreadStats { ThreadStats() : bytes_processed(0), items_processed(0), complexity_n(0) {} int64_t bytes_processed; int64_t items_processed; - size_t complexity_n; + int complexity_n; }; // Timer management class