Home | History | Annotate | Download | only in native

Lines Matching refs:benchmark

17 // The functions we want to benchmark are static, so include the source code.
20 #include <benchmark/benchmark.h>
23 void swap_bench(benchmark::State& state, void (*swap_func)(T*, const T*, size_t)) {
61 static void BM_swapShorts_aligned(benchmark::State& state) {
64 BENCHMARK(BM_swapShorts_aligned)->AT_COMMON_VALUES;
66 static void BM_swapInts_aligned(benchmark::State& state) {
69 BENCHMARK(BM_swapInts_aligned)->AT_COMMON_VALUES;
71 static void BM_swapLongs_aligned(benchmark::State& state) {
74 BENCHMARK(BM_swapLongs_aligned)->AT_COMMON_VALUES;
78 static void BM_swapShorts_unaligned_1(benchmark::State& state) {
81 BENCHMARK(BM_swapShorts_unaligned_1)->AT_COMMON_VALUES;
83 static void BM_swapInts_unaligned_1(benchmark::State& state) {
86 BENCHMARK(BM_swapInts_unaligned_1)->AT_COMMON_VALUES;
88 static void BM_swapLongs_unaligned_1(benchmark::State& state) {
91 BENCHMARK(BM_swapLongs_unaligned_1)->AT_COMMON_VALUES;
95 static void BM_swapShorts_unaligned_2(benchmark::State& state) {
98 BENCHMARK(BM_swapShorts_unaligned_2)->AT_COMMON_VALUES;
100 static void BM_swapInts_unaligned_2(benchmark::State& state) {
103 BENCHMARK(BM_swapInts_unaligned_2)->AT_COMMON_VALUES;
105 static void BM_swapLongs_unaligned_2(benchmark::State& state) {
108 BENCHMARK(BM_swapLongs_unaligned_2)->AT_COMMON_VALUES;