Home
last modified time | relevance | path

Searched full:benchmark (Results 1 – 25 of 4651) sorted by relevance

12345678910>>...187

/external/XNNPACK/bench/
Df32-vsigmoid.cc12 #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()
57benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_vsigmoid()
61benchmark::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 …]
Df32-velu.cc12 #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()
57benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_velu()
61benchmark::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 …]
Dqs8-gemm.cc18 #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()
74benchmark::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 …]
Df32-raddstoreexpminusmax.cc12 #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()
44benchmark::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()
76benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_raddstoreexpminusmax()
80benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_raddstoreexpminusmax()
88 benchmark::utils::CheckNEON)
[all …]
Dend2end.cc14 #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 …]
Df16-raddstoreexpminusmax.cc12 #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()
46benchmark::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()
78benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f16_raddstoreexpminusmax()
82benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f16_raddstoreexpminusmax()
90 benchmark::utils::CheckNEONFP16ARITH)
[all …]
Df16-vsigmoid.cc12 #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()
59benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f16_vsigmoid()
63benchmark::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 …]
Df32-vsqrt.cc12 #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()
58benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_vsqrt()
62benchmark::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 …]
Df32-dwconv2d-chw.cc13 #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 …]
Dqs8-vaddc.cc12 #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()
62benchmark::Counter(uint64_t(state.iterations()) * num_elements_per_iteration, benchmark::Counter::… in qs8_vaddc()
66benchmark::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 …]
Df16-f32-vcvt.cc12 #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()
61benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f16_f32_vcvt()
65benchmark::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 …]
Dqu8-gemm.cc21 #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 …]
Df32-qs8-vcvt.cc12 #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()
62benchmark::Counter(uint64_t(state.iterations()) * elements_per_iteration, benchmark::Counter::kIsR… in f32_qs8_vcvt()
66benchmark::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 …]
Dqs8-vadd.cc12 #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()
63benchmark::Counter(uint64_t(state.iterations()) * num_elements_per_iteration, benchmark::Counter::… in qs8_vadd()
67benchmark::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 …]
Dutils.h14 #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 …]
Dqs8-gemm-e2e.cc15 #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/
Dbenchmark_test.cc15 #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/
Df32-sigmoid-ulp.cc18 #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/
Dduration_benchmark.cc23 #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/
Dduration_benchmark.cc23 #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/
Dduration_benchmark.cc23 #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/
Dduration_benchmark.cc23 #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/
Dduration_benchmark.cc22 #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/
Dduration_benchmark.cc23 #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/
Dquery_executor_benchmark.cc17 #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 …]

12345678910>>...187