mirror of https://github.com/google/benchmark.git
changed complexity_n to int and fix some whitespaces
This commit is contained in:
parent
8ba94b4c18
commit
2859ae9394
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue