removed functional library not needed

This commit is contained in:
Ismael 2016-06-02 19:48:53 +02:00
parent 11e3043554
commit 109f528a40
3 changed files with 3 additions and 5 deletions

View File

@ -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"

View File

@ -22,7 +22,6 @@
#include "stat.h" #include "stat.h"
#include <cmath> #include <cmath>
#include <algorithm> #include <algorithm>
#include <functional>
namespace benchmark { namespace benchmark {

View File

@ -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";