Commit 2859ae93 by Ismael

changed complexity_n to int and fix some whitespaces

parent 8ba94b4c
......@@ -363,7 +363,7 @@ public:
// family benchmark, then current benchmark will be part of the computation and complexity_n will
// represent the length of N.
BENCHMARK_ALWAYS_INLINE
void SetComplexityN(size_t complexity_n) {
void SetComplexityN(int complexity_n) {
complexity_n_ = complexity_n;
}
......@@ -444,7 +444,7 @@ private:
size_t bytes_processed_;
size_t items_processed_;
size_t complexity_n_;
int complexity_n_;
public:
// FIXME: Make this private somehow.
......
......@@ -87,7 +87,7 @@ class BenchmarkReporter {
// Keep track of arguments to compute asymptotic complexity
BigO complexity;
BigOFunc* complexity_lambda;
size_t complexity_n;
int complexity_n;
// Inform print function whether the current run is a complexity report
bool report_big_o;
......@@ -133,14 +133,14 @@ class BenchmarkReporter {
error_stream_ = err;
}
std::ostream& GetOutputStream() const {
std::ostream& GetOutputStream() const {
return *output_stream_;
}
std::ostream& GetErrorStream() const {
return *error_stream_;
}
virtual ~BenchmarkReporter();
// Write a human readable string to 'out' representing the specified
......
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