mirror of https://github.com/google/benchmark.git
removed functional library not needed
This commit is contained in:
parent
11e3043554
commit
109f528a40
|
@ -152,7 +152,6 @@ BENCHMARK(BM_test)->Unit(benchmark::kMillisecond);
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include "stat.h"
|
#include "stat.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
namespace benchmark {
|
namespace benchmark {
|
||||||
|
|
||||||
|
|
|
@ -153,9 +153,9 @@ void BM_Complexity_O1(benchmark::State& state) {
|
||||||
}
|
}
|
||||||
state.SetComplexityN(state.range_x());
|
state.SetComplexityN(state.range_x());
|
||||||
}
|
}
|
||||||
BENCHMARK(BM_Complexity_O1)->Range(1, 1<<18)->Complexity(benchmark::o1);
|
BENCHMARK(BM_Complexity_O1) -> Range(1, 1<<18) -> Complexity(benchmark::o1);
|
||||||
BENCHMARK(BM_Complexity_O1)->Range(1, 1<<18)->Complexity([](size_t){return 1.0; });
|
BENCHMARK(BM_Complexity_O1) -> Range(1, 1<<18) -> Complexity([](size_t){return 1.0; });
|
||||||
BENCHMARK(BM_Complexity_O1)->Range(1, 1<<18)->Complexity();
|
BENCHMARK(BM_Complexity_O1) -> Range(1, 1<<18) -> Complexity();
|
||||||
|
|
||||||
std::string big_o_1_test_name = "BM_Complexity_O1_BigO";
|
std::string big_o_1_test_name = "BM_Complexity_O1_BigO";
|
||||||
std::string rms_o_1_test_name = "BM_Complexity_O1_RMS";
|
std::string rms_o_1_test_name = "BM_Complexity_O1_RMS";
|
||||||
|
|
Loading…
Reference in New Issue