Commit 109f528a by Ismael

removed functional library not needed

parent 11e30435
......@@ -152,7 +152,6 @@ BENCHMARK(BM_test)->Unit(benchmark::kMillisecond);
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <functional>
#include "macros.h"
......
......@@ -22,7 +22,6 @@
#include "stat.h"
#include <cmath>
#include <algorithm>
#include <functional>
namespace benchmark {
......
......@@ -153,9 +153,9 @@ void BM_Complexity_O1(benchmark::State& state) {
}
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([](size_t){return 1.0; });
BENCHMARK(BM_Complexity_O1)->Range(1, 1<<18)->Complexity();
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();
std::string big_o_1_test_name = "BM_Complexity_O1_BigO";
std::string rms_o_1_test_name = "BM_Complexity_O1_RMS";
......
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