Home
last modified time | relevance | path

Searched refs:benchmark (Results 1 – 6 of 6) sorted by relevance

/system/netd/tests/benchmarks/
Ddns_benchmark.cpp39 class DnsFixture : public ::benchmark::Fixture {
47 void SetUp(const ::benchmark::State& state) override { in SetUp()
62 void TearDown(const ::benchmark::State& state) override { in TearDown()
77 void getaddrinfo_until_done(benchmark::State &state) { in getaddrinfo_until_done()
94 void benchmark_at_reporting_level(benchmark::State &state, int metricsLevel) { in benchmark_at_reporting_level()
130 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_nothing)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
138 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_metrics)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
146 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_everything)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
Dconnect_benchmark.cpp59 static void ipv4_loopback(benchmark::State& state, const bool waitBetweenRuns) { in ipv4_loopback()
116 static void ipv6_loopback(benchmark::State& state, const bool waitBetweenRuns) { in ipv6_loopback()
174 ::benchmark::State& state, const int reportingLevel, in run_at_reporting_level()
228 static void ipv4_metrics_reporting_no_fwmark(::benchmark::State& state) { in ipv4_metrics_reporting_no_fwmark()
234 static void ipv4_metrics_reporting_no_load(::benchmark::State& state) { in ipv4_metrics_reporting_no_load()
239 static void ipv4_full_reporting_no_load(::benchmark::State& state) { in ipv4_full_reporting_no_load()
245 static void ipv4_metrics_reporting_high_load(::benchmark::State& state) { in ipv4_metrics_reporting_high_load()
252 static void ipv4_full_reporting_high_load(::benchmark::State& state) { in ipv4_full_reporting_high_load()
259 static void ipv6_metrics_reporting_no_fwmark(::benchmark::State& state) { in ipv6_metrics_reporting_no_fwmark()
265 static void ipv6_metrics_reporting_no_load(::benchmark::State& state) { in ipv6_metrics_reporting_no_load()
[all …]
/system/core/logd/tests/
Dlogd_test.cpp106 char *benchmark = NULL; in find_benchmark_spam() local
110 benchmark = strstr(cp, signature); in find_benchmark_spam()
111 if (!benchmark) { in find_benchmark_spam()
114 cp = benchmark + sizeof(signature); in find_benchmark_spam()
118 benchmark = cp; in find_benchmark_spam()
120 char *end = strstr(benchmark, "\n"); in find_benchmark_spam()
122 end = benchmark + strlen(benchmark); in find_benchmark_spam()
125 (int)(end - benchmark), benchmark); in find_benchmark_spam()
153 benchmark = NULL; in find_benchmark_spam()
155 return benchmark; in find_benchmark_spam()
[all …]
/system/extras/mmap-perf/
DmmapPerf.cpp113 static void benchRandomRead(benchmark::State& state) { in benchRandomRead()
123 static void benchRandomWrite(benchmark::State& state) { in benchRandomWrite()
133 static void benchLinearRead(benchmark::State& state) { in benchLinearRead()
144 static void benchLinearWrite(benchmark::State& state) { in benchLinearWrite()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp82 static void BM_addInts(benchmark::State& state);
106 static void BM_addInts(benchmark::State& state) in BM_addInts()
249 ::benchmark::Initialize(&argc, argv); in main()
310 ::benchmark::RunSpecifiedBenchmarks(); in main()
/system/vold/
DBenchmark.cpp51 static nsecs_t benchmark(const std::string& path) { in benchmark() function
149 return benchmark(benchPath); in BenchmarkPrivate()