| /external/XNNPACK/bench/ |
| D | f32-vsigmoid.cc | 12 #include <benchmark/benchmark.h> 24 benchmark::State& state, in f32_vsigmoid() 27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_vsigmoid() 50 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_vsigmoid() 57 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_vsigmoid() 61 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_vsigmoid() 68 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) 73 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) 78 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) 83 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) [all …]
|
| D | f32-velu.cc | 12 #include <benchmark/benchmark.h> 24 benchmark::State& state, in f32_velu() 27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_velu() 50 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_velu() 57 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_velu() 61 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_velu() 68 benchmark::utils::CheckNEONFMA) 69 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) 74 benchmark::utils::CheckNEONFMA) 75 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) [all …]
|
| D | qs8-gemm.cc | 18 #include <benchmark/benchmark.h> 35 static void GEMMBenchmark(benchmark::State& state, in GEMMBenchmark() 39 benchmark::utils::IsaCheckFunction isa_check = nullptr, in GEMMBenchmark() 54 const size_t nc_stride = benchmark::utils::RoundUp(nc, nr); in GEMMBenchmark() 55 const size_t kc_stride = benchmark::utils::RoundUp(kc, kr * sr); in GEMMBenchmark() 74 …benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), w_size + c_elements *… in GEMMBenchmark() 97 benchmark::utils::PrefetchToL1(a.data(), a.size() * sizeof(int8_t)); in GEMMBenchmark() 115 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in GEMMBenchmark() 120 state.counters["OPS"] = benchmark::Counter( in GEMMBenchmark() 121 uint64_t(state.iterations()) * 2 * mc * nc * kc, benchmark::Counter::kIsRate); in GEMMBenchmark() [all …]
|
| D | f32-raddstoreexpminusmax.cc | 12 #include <benchmark/benchmark.h> 25 benchmark::State& state, in f32_raddstoreexpminusmax() 29 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_raddstoreexpminusmax() 37 …const size_t packed_elements = benchmark::utils::RoundUp(elements, cache_line_size_max / sizeof(fl… in f32_raddstoreexpminusmax() 44 …benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), packed_elements * siz… in f32_raddstoreexpminusmax() 50 benchmark::utils::DisableDenormals(); in f32_raddstoreexpminusmax() 69 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_raddstoreexpminusmax() 76 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_raddstoreexpminusmax() 80 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_raddstoreexpminusmax() 88 benchmark::utils::CheckNEON) [all …]
|
| D | end2end.cc | 14 #include <benchmark/benchmark.h> 21 benchmark::State& state, in End2EndBenchmark() 49 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in End2EndBenchmark() 55 static void FP32MobileNetV1(benchmark::State& state) { in FP32MobileNetV1() 59 static void FP32MobileNetV2(benchmark::State& state) { in FP32MobileNetV2() 63 static void FP32MobileNetV3Large(benchmark::State& state) { in FP32MobileNetV3Large() 67 static void FP32MobileNetV3Small(benchmark::State& state) { in FP32MobileNetV3Small() 71 static void FP32Sparse80MobileNetV1(benchmark::State& state) { in FP32Sparse80MobileNetV1() 77 static void FP32Sparse80MobileNetV2(benchmark::State& state) { in FP32Sparse80MobileNetV2() 83 static void FP32Sparse80MobileNetV3Large(benchmark::State& state) { in FP32Sparse80MobileNetV3Large() [all …]
|
| D | f16-raddstoreexpminusmax.cc | 12 #include <benchmark/benchmark.h> 26 benchmark::State& state, in f16_raddstoreexpminusmax() 30 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f16_raddstoreexpminusmax() 38 …const size_t packed_elements = benchmark::utils::RoundUp(elements, cache_line_size_max / sizeof(ui… in f16_raddstoreexpminusmax() 46 …benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), packed_elements * siz… in f16_raddstoreexpminusmax() 52 benchmark::utils::DisableDenormals(); in f16_raddstoreexpminusmax() 71 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f16_raddstoreexpminusmax() 78 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f16_raddstoreexpminusmax() 82 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f16_raddstoreexpminusmax() 90 benchmark::utils::CheckNEONFP16ARITH) [all …]
|
| D | f16-vsigmoid.cc | 12 #include <benchmark/benchmark.h> 25 benchmark::State& state, in f16_vsigmoid() 28 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f16_vsigmoid() 52 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f16_vsigmoid() 59 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f16_vsigmoid() 63 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f16_vsigmoid() 70 benchmark::utils::CheckNEONFP16ARITH) 71 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, uint16_t>) 76 benchmark::utils::CheckNEONFP16ARITH) 77 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, uint16_t>) [all …]
|
| D | f32-vsqrt.cc | 12 #include <benchmark/benchmark.h> 24 benchmark::State& state, in f32_vsqrt() 27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_vsqrt() 51 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_vsqrt() 58 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_vsqrt() 62 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_vsqrt() 68 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) 72 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) 80 benchmark::utils::CheckNEONFMA) 81 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>) [all …]
|
| D | f32-dwconv2d-chw.cc | 13 #include <benchmark/benchmark.h> 28 static void f32_dwconv2d_chw(benchmark::State& state, in f32_dwconv2d_chw() 31 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_dwconv2d_chw() 96 benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), in f32_dwconv2d_chw() 121 benchmark::utils::PrefetchToL1(input.data(), input.size() * sizeof(float)); in f32_dwconv2d_chw() 137 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_dwconv2d_chw() 142 state.counters["FLOPS"] = benchmark::Counter( in f32_dwconv2d_chw() 144 benchmark::Counter::kIsRate); in f32_dwconv2d_chw() 146 state.counters["bytes"] = benchmark::Counter( in f32_dwconv2d_chw() 148 benchmark::Counter::kIsRate); in f32_dwconv2d_chw() [all …]
|
| D | qs8-vaddc.cc | 12 #include <benchmark/benchmark.h> 24 benchmark::State& state, in qs8_vaddc() 27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qs8_vaddc() 55 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qs8_vaddc() 62 …benchmark::Counter(uint64_t(state.iterations()) * num_elements_per_iteration, benchmark::Counter::… in qs8_vaddc() 66 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in qs8_vaddc() 73 benchmark::utils::CheckNEON) 74 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, int8_t>) 79 benchmark::utils::CheckNEON) 80 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, int8_t>) [all …]
|
| D | f16-f32-vcvt.cc | 12 #include <benchmark/benchmark.h> 25 benchmark::State& state, in f16_f32_vcvt() 28 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f16_f32_vcvt() 54 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f16_f32_vcvt() 61 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f16_f32_vcvt() 65 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f16_f32_vcvt() 72 benchmark::utils::CheckNEONFP16) 73 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>) 78 benchmark::utils::CheckNEONFP16) 79 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>) [all …]
|
| D | qu8-gemm.cc | 21 #include <benchmark/benchmark.h> 41 static void GEMMBenchmark(benchmark::State& state, in GEMMBenchmark() 45 benchmark::utils::IsaCheckFunction isa_check = nullptr) in GEMMBenchmark() 59 const size_t nc_stride = benchmark::utils::RoundUp(nc, nr); in GEMMBenchmark() 60 const size_t kc_stride = benchmark::utils::RoundUp(kc, kr * sr); in GEMMBenchmark() 77 benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), in GEMMBenchmark() 97 benchmark::utils::PrefetchToL1(a.data(), a.size() * sizeof(uint8_t)); in GEMMBenchmark() 115 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in GEMMBenchmark() 120 state.counters["OPS"] = benchmark::Counter( in GEMMBenchmark() 121 uint64_t(state.iterations()) * 2 * mc * nc * kc, benchmark::Counter::kIsRate); in GEMMBenchmark() [all …]
|
| D | f32-qs8-vcvt.cc | 12 #include <benchmark/benchmark.h> 25 benchmark::State& state, in f32_qs8_vcvt() 28 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_qs8_vcvt() 55 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_qs8_vcvt() 62 …benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_qs8_vcvt() 66 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_qs8_vcvt() 73 benchmark::utils::CheckNEONV8) 74 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, int8_t>) 79 benchmark::utils::CheckNEONV8) 80 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, int8_t>) [all …]
|
| D | qs8-vadd.cc | 12 #include <benchmark/benchmark.h> 24 benchmark::State& state, in qs8_vadd() 27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qs8_vadd() 56 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qs8_vadd() 63 …benchmark::Counter(uint64_t(state.iterations()) * num_elements_per_iteration, benchmark::Counter::… in qs8_vadd() 67 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in qs8_vadd() 74 benchmark::utils::CheckNEON) 75 ->Apply(benchmark::utils::BinaryElementwiseParameters<int8_t, int8_t>) 80 benchmark::utils::CheckNEON) 81 ->Apply(benchmark::utils::BinaryElementwiseParameters<int8_t, int8_t>) [all …]
|
| D | utils.h | 14 #include <benchmark/benchmark.h> 16 namespace benchmark { 38 void UnaryElementwiseParameters(benchmark::internal::Benchmark* benchmark) { in UnaryElementwiseParameters() argument 39 benchmark->ArgName("N"); in UnaryElementwiseParameters() 49 benchmark->Arg(characteristic_l1 / elementwise_size / 960 * 960); in UnaryElementwiseParameters() 50 benchmark->Arg(characteristic_l2 / elementwise_size / 960 * 960); in UnaryElementwiseParameters() 59 void BinaryElementwiseParameters(benchmark::internal::Benchmark* benchmark) { in BinaryElementwiseParameters() argument 60 benchmark->ArgName("N"); in BinaryElementwiseParameters() 70 benchmark->Arg(characteristic_l1 / elementwise_size / 960 * 960); in BinaryElementwiseParameters() 71 benchmark->Arg(characteristic_l2 / elementwise_size / 960 * 960); in BinaryElementwiseParameters() [all …]
|
| D | qs8-gemm-e2e.cc | 15 #include <benchmark/benchmark.h> 28 benchmark::State& state, in GEMMEnd2EndBenchmark() 36 benchmark::utils::IsaCheckFunction isa_check = nullptr) in GEMMEnd2EndBenchmark() 75 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in GEMMEnd2EndBenchmark() 83 …static void qs8_gemm_4x8c4__aarch32_neondot_cortex_a55(benchmark::State& state, models::ExecutionP… in qs8_gemm_4x8c4__aarch32_neondot_cortex_a55() 91 benchmark::utils::CheckNEONDOT); in qs8_gemm_4x8c4__aarch32_neondot_cortex_a55() 93 …static void qs8_gemm_4x8c4__aarch32_neondot_ld64(benchmark::State& state, models::ExecutionPlanFac… in qs8_gemm_4x8c4__aarch32_neondot_ld64() 101 benchmark::utils::CheckNEONDOT); in qs8_gemm_4x8c4__aarch32_neondot_ld64() 110 …static void qs8_gemm_4x8__aarch32_neon_mlal_lane_cortex_a53(benchmark::State& state, models::Execu… in BENCHMARK_QS8_END2END() 118 benchmark::utils::CheckNEON); in BENCHMARK_QS8_END2END() [all …]
|
| /external/pigweed/pw_allocator/benchmarks/ |
| D | benchmark_test.cc | 15 #include "pw_allocator/benchmarks/benchmark.h" 30 using Benchmark = typedef 40 bool IsChanged(Benchmark& benchmark, GetByKey get_by_key) { in IsChanged() argument 41 return get_by_key(benchmark.measurements()).count() != 0; in IsChanged() 44 bool ByCountChanged(Benchmark& benchmark, size_t count) { in ByCountChanged() argument 45 return IsChanged(benchmark, [count](Measurements& m) -> Measurement<size_t>& { in ByCountChanged() 52 Benchmark benchmark(kToken, allocator); in TEST() local 53 benchmark.set_prng_seed(1); in TEST() 54 benchmark.set_available(kCapacity); in TEST() 56 EXPECT_FALSE(ByCountChanged(benchmark, 0)); in TEST() [all …]
|
| /external/XNNPACK/eval/ |
| D | f32-sigmoid-ulp.cc | 18 #include <benchmark/benchmark.h> 58 static void SigmoidError(benchmark::State& state, in SigmoidError() 60 benchmark::utils::IsaCheckFunction isa_check = nullptr) in SigmoidError() 137 state.counters["ULPERROR"] = benchmark::Counter(max_ulp_error); in SigmoidError() 143 benchmark::utils::CheckNEONFMA) 144 ->Unit(benchmark::kMillisecond) 148 benchmark::utils::CheckNEONFMA) 149 ->Unit(benchmark::kMillisecond) 153 benchmark::utils::CheckNEONFMA) 154 ->Unit(benchmark::kMillisecond) [all …]
|
| /external/cronet/tot/third_party/abseil-cpp/absl/time/ |
| D | duration_benchmark.cc | 23 #include "benchmark/benchmark.h" 35 void BM_Duration_Factory_Nanoseconds(benchmark::State& state) { in BM_Duration_Factory_Nanoseconds() 38 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 42 BENCHMARK(BM_Duration_Factory_Nanoseconds); 44 void BM_Duration_Factory_Microseconds(benchmark::State& state) { in BM_Duration_Factory_Microseconds() 47 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 51 BENCHMARK(BM_Duration_Factory_Microseconds); 53 void BM_Duration_Factory_Milliseconds(benchmark::State& state) { in BM_Duration_Factory_Milliseconds() 56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 60 BENCHMARK(BM_Duration_Factory_Milliseconds); [all …]
|
| /external/abseil-cpp/absl/time/ |
| D | duration_benchmark.cc | 23 #include "benchmark/benchmark.h" 35 void BM_Duration_Factory_Nanoseconds(benchmark::State& state) { in BM_Duration_Factory_Nanoseconds() 38 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 42 BENCHMARK(BM_Duration_Factory_Nanoseconds); 44 void BM_Duration_Factory_Microseconds(benchmark::State& state) { in BM_Duration_Factory_Microseconds() 47 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 51 BENCHMARK(BM_Duration_Factory_Microseconds); 53 void BM_Duration_Factory_Milliseconds(benchmark::State& state) { in BM_Duration_Factory_Milliseconds() 56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 60 BENCHMARK(BM_Duration_Factory_Milliseconds); [all …]
|
| /external/angle/third_party/abseil-cpp/absl/time/ |
| D | duration_benchmark.cc | 23 #include "benchmark/benchmark.h" 35 void BM_Duration_Factory_Nanoseconds(benchmark::State& state) { in BM_Duration_Factory_Nanoseconds() 38 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 42 BENCHMARK(BM_Duration_Factory_Nanoseconds); 44 void BM_Duration_Factory_Microseconds(benchmark::State& state) { in BM_Duration_Factory_Microseconds() 47 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 51 BENCHMARK(BM_Duration_Factory_Microseconds); 53 void BM_Duration_Factory_Milliseconds(benchmark::State& state) { in BM_Duration_Factory_Milliseconds() 56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 60 BENCHMARK(BM_Duration_Factory_Milliseconds); [all …]
|
| /external/cronet/stable/third_party/abseil-cpp/absl/time/ |
| D | duration_benchmark.cc | 23 #include "benchmark/benchmark.h" 35 void BM_Duration_Factory_Nanoseconds(benchmark::State& state) { in BM_Duration_Factory_Nanoseconds() 38 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 42 BENCHMARK(BM_Duration_Factory_Nanoseconds); 44 void BM_Duration_Factory_Microseconds(benchmark::State& state) { in BM_Duration_Factory_Microseconds() 47 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 51 BENCHMARK(BM_Duration_Factory_Microseconds); 53 void BM_Duration_Factory_Milliseconds(benchmark::State& state) { in BM_Duration_Factory_Milliseconds() 56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 60 BENCHMARK(BM_Duration_Factory_Milliseconds); [all …]
|
| /external/openscreen/third_party/abseil/src/absl/time/ |
| D | duration_benchmark.cc | 22 #include "benchmark/benchmark.h" 30 void BM_Duration_Factory_Nanoseconds(benchmark::State& state) { in BM_Duration_Factory_Nanoseconds() 33 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 37 BENCHMARK(BM_Duration_Factory_Nanoseconds); 39 void BM_Duration_Factory_Microseconds(benchmark::State& state) { in BM_Duration_Factory_Microseconds() 42 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 46 BENCHMARK(BM_Duration_Factory_Microseconds); 48 void BM_Duration_Factory_Milliseconds(benchmark::State& state) { in BM_Duration_Factory_Milliseconds() 51 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 55 BENCHMARK(BM_Duration_Factory_Milliseconds); [all …]
|
| /external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/ |
| D | duration_benchmark.cc | 23 #include "benchmark/benchmark.h" 35 void BM_Duration_Factory_Nanoseconds(benchmark::State& state) { in BM_Duration_Factory_Nanoseconds() 38 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 42 BENCHMARK(BM_Duration_Factory_Nanoseconds); 44 void BM_Duration_Factory_Microseconds(benchmark::State& state) { in BM_Duration_Factory_Microseconds() 47 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 51 BENCHMARK(BM_Duration_Factory_Microseconds); 53 void BM_Duration_Factory_Milliseconds(benchmark::State& state) { in BM_Duration_Factory_Milliseconds() 56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 60 BENCHMARK(BM_Duration_Factory_Milliseconds); [all …]
|
| /external/perfetto/src/trace_processor/db/ |
| D | query_executor_benchmark.cc | 17 #include <benchmark/benchmark.h> 84 std::vector<std::string> ReadCSV(benchmark::State& state, in ReadCSV() 92 "go/perfetto-benchmark-trace-strings and save into /tmp/trace_strings"); in ReadCSV() 136 explicit SliceTableForBenchmark(benchmark::State& state) : table_{&pool_} { in SliceTableForBenchmark() 149 explicit FtraceEventTableForBenchmark(benchmark::State& state) { in FtraceEventTableForBenchmark() 168 explicit HeapGraphObjectTableForBenchmark(benchmark::State& state) { in HeapGraphObjectTableForBenchmark() 185 void BenchmarkSliceTableFilter(benchmark::State& state, in BenchmarkSliceTableFilter() 191 benchmark::DoNotOptimize(table.table_.FilterToIterator(q)); in BenchmarkSliceTableFilter() 194 benchmark::Counter(static_cast<double>(table.table_.row_count()), in BenchmarkSliceTableFilter() 195 benchmark::Counter::kIsIterationInvariantRate | in BenchmarkSliceTableFilter() [all …]
|