HomeSort by relevance Sort by last modified time
    Searched refs:benchmark (Results 51 - 75 of 391) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/google-benchmark/test/
map_test.cc 1 #include "benchmark/benchmark.h"
19 static void BM_MapLookup(benchmark::State& state) {
27 benchmark::DoNotOptimize(m.find(std::rand() % size));
32 BENCHMARK(BM_MapLookup)->Range(1 << 3, 1 << 12);
35 class MapFixture : public ::benchmark::Fixture {
37 void SetUp(const ::benchmark::State& st) {
41 void TearDown(const ::benchmark::State&) { m.clear(); }
46 BENCHMARK_DEFINE_F(MapFixture, Lookup)(benchmark::State& state) {
50 benchmark::DoNotOptimize(m.find(std::rand() % size))
    [all...]
filter_test.cc 1 #include "benchmark/benchmark.h"
15 class TestReporter : public benchmark::ConsoleReporter {
38 static void NoPrefix(benchmark::State& state) {
42 BENCHMARK(NoPrefix);
44 static void BM_Foo(benchmark::State& state) {
48 BENCHMARK(BM_Foo);
50 static void BM_Bar(benchmark::State& state) {
54 BENCHMARK(BM_Bar);
56 static void BM_FooBar(benchmark::State& state)
    [all...]
options_test.cc 1 #include "benchmark/benchmark.h"
10 void BM_basic(benchmark::State& state) {
15 void BM_basic_slow(benchmark::State& state) {
23 BENCHMARK(BM_basic);
24 BENCHMARK(BM_basic)->Arg(42);
25 BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond);
26 BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond)
    [all...]
skip_with_error_test.cc 7 #include "benchmark/benchmark.h"
11 class TestReporter : public benchmark::ConsoleReporter {
33 typedef benchmark::BenchmarkReporter::Run Run;
64 void BM_error_before_running(benchmark::State& state) {
70 BENCHMARK(BM_error_before_running);
73 void BM_error_before_running_batch(benchmark::State& state) {
79 BENCHMARK(BM_error_before_running_batch);
82 void BM_error_before_running_range_for(benchmark::State& state) {
88 BENCHMARK(BM_error_before_running_range_for)
    [all...]
  /external/libcxx/benchmarks/
filesystem.bench.cpp 1 #include "benchmark/benchmark.h"
10 void BM_PathConstructString(benchmark::State &st, GenInputs gen) {
16 benchmark::DoNotOptimize(PP.native().data());
19 benchmark::DoNotOptimize(P.native().data());
28 void BM_PathConstructCStr(benchmark::State &st, GenInputs gen) {
34 benchmark::DoNotOptimize(PP.native().data());
37 benchmark::DoNotOptimize(P.native().data());
45 void BM_PathConstructIter(benchmark::State &st, GenInputs gen) {
54 benchmark::DoNotOptimize(PP.native().data())
    [all...]
  /external/libcxx/utils/google-benchmark/test/
map_test.cc 1 #include "benchmark/benchmark.h"
19 static void BM_MapLookup(benchmark::State& state) {
27 benchmark::DoNotOptimize(m.find(std::rand() % size));
32 BENCHMARK(BM_MapLookup)->Range(1 << 3, 1 << 12);
35 class MapFixture : public ::benchmark::Fixture {
37 void SetUp(const ::benchmark::State& st) {
41 void TearDown(const ::benchmark::State&) { m.clear(); }
46 BENCHMARK_DEFINE_F(MapFixture, Lookup)(benchmark::State& state) {
50 benchmark::DoNotOptimize(m.find(std::rand() % size))
    [all...]
filter_test.cc 1 #include "benchmark/benchmark.h"
15 class TestReporter : public benchmark::ConsoleReporter {
38 static void NoPrefix(benchmark::State& state) {
42 BENCHMARK(NoPrefix);
44 static void BM_Foo(benchmark::State& state) {
48 BENCHMARK(BM_Foo);
50 static void BM_Bar(benchmark::State& state) {
54 BENCHMARK(BM_Bar);
56 static void BM_FooBar(benchmark::State& state)
    [all...]
options_test.cc 1 #include "benchmark/benchmark.h"
10 void BM_basic(benchmark::State& state) {
15 void BM_basic_slow(benchmark::State& state) {
23 BENCHMARK(BM_basic);
24 BENCHMARK(BM_basic)->Arg(42);
25 BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond);
26 BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond)
    [all...]
  /bionic/benchmarks/
atomic_benchmark.cpp 26 #include <benchmark/benchmark.h>
48 void BM_atomic_empty(benchmark::State& state) {
55 static void BM_atomic_load_relaxed(benchmark::State& state) {
65 static void BM_atomic_load_acquire(benchmark::State& state) {
75 static void BM_atomic_store_release(benchmark::State& state) {
84 static void BM_atomic_store_seq_cst(benchmark::State& state) {
93 static void BM_atomic_fetch_add_relaxed(benchmark::State& state) {
103 static void BM_atomic_fetch_add_seq_cst(benchmark::State& state) {
116 static void BM_atomic_acquire_fence(benchmark::State& state)
    [all...]
semaphore_benchmark.cpp 23 #include <benchmark/benchmark.h>
26 static void BM_semaphore_sem_getvalue(benchmark::State& state) {
37 static void BM_semaphore_sem_wait_sem_post(benchmark::State& state) {
62 // with the benchmark clock running. This ensures nothing else in the system
81 class SemaphoreFixture : public benchmark::Fixture {
83 void SetUp(const benchmark::State&) override {
123 // This is commented out because dynamic benchmark registering doesn't currently support fixtures.
124 // Uncomment it and recompile to run this benchmark on every run.
125 /* BENCHMARK_F(SemaphoreFixture, semaphore_sem_post)(benchmark::State& state)
    [all...]
stdio_benchmark.cpp 24 #include <benchmark/benchmark.h>
38 void ReadWriteTest(benchmark::State& state, Fn f, bool buffered) {
60 void BM_stdio_fread(benchmark::State& state) {
65 void BM_stdio_fwrite(benchmark::State& state) {
70 void BM_stdio_fread_unbuffered(benchmark::State& state) {
75 void BM_stdio_fwrite_unbuffered(benchmark::State& state) {
81 static void FopenFgetlnFclose(benchmark::State& state, bool no_locking) {
94 static void BM_stdio_fopen_fgetln_fclose_locking(benchmark::State& state) {
99 void BM_stdio_fopen_fgetln_fclose_no_locking(benchmark::State& state)
    [all...]
  /build/kati/
fileutil_bench.cc 17 #include <benchmark/benchmark.h>
21 static void BM_RunCommand(benchmark::State& state) {
30 BENCHMARK(BM_RunCommand);
32 static void BM_RunCommand_ComplexShell(benchmark::State& state) {
41 BENCHMARK(BM_RunCommand_ComplexShell);
  /build/make/core/
native_benchmark.mk 7 LOCAL_STATIC_LIBRARIES += libgoogle-benchmark
  /external/google-benchmark/src/
counter.h 15 #include "benchmark/benchmark.h"
17 namespace benchmark { namespace
26 } // end namespace benchmark
sleep.h 4 namespace benchmark { namespace
13 } // end namespace benchmark
benchmark_runner.h 29 namespace benchmark { namespace
44 const benchmark::internal::BenchmarkInstance& b,
49 } // end namespace benchmark
  /external/libcxx/utils/google-benchmark/src/
counter.h 15 #include "benchmark/benchmark.h"
17 namespace benchmark { namespace
26 } // end namespace benchmark
sleep.h 4 namespace benchmark { namespace
13 } // end namespace benchmark
benchmark_runner.h 29 namespace benchmark { namespace
44 const benchmark::internal::BenchmarkInstance& b,
49 } // end namespace benchmark
  /external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
HttpClient.java 20 /** An HTTP client to benchmark. */
22 void prepare(Benchmark benchmark);
  /external/tensorflow/tensorflow/lite/tools/benchmark/android/src/org/tensorflow/lite/benchmark/
BenchmarkModel.java 16 package org.tensorflow.lite.benchmark;
18 /** Helper class for running a native TensorFlow Lite benchmark. */
24 // Executes a standard TensorFlow Lite benchmark according to the provided args.
  /external/tensorflow/tensorflow/python/data/experimental/benchmarks/
choose_fastest_branch_benchmark.py 48 def benchmark(dataset, name): function in function:ChooseFastestBranchBenchmark.benchmarkChooseFastest
51 benchmark(map_batch, "map_batch_dataset")
52 benchmark(batch_map, "batch_map_dataset")
53 benchmark(choose_fastest, "choose_fastest_dataset")
59 def benchmark(dataset, name): function in function:ChooseFastestBranchBenchmark.benchmarkChooseFastestFirstNIterations
63 benchmark(map_batch, "map_batch_dataset")
64 benchmark(batch_map, "batch_map_dataset")
65 benchmark(choose_fastest, "choose_fastest_dataset")
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
Worker.java 40 protected final Object benchmark; field in class:Worker
42 protected Worker(Object benchmark, Method method) {
43 this.benchmark = benchmark;
47 /** Initializes the benchmark object. */
50 method.invoke(benchmark);
54 /** Called once before all measurements but after benchmark setup. */
71 /** Tears down the benchmark object. */
74 method.invoke(benchmark);
  /external/grpc-grpc/test/cpp/microbenchmarks/
bm_channel.cc 19 /* Benchmark channel */
21 #include <benchmark/benchmark.h>
60 static void BM_InsecureChannelCreateDestroy(benchmark::State& state) {
79 // Some distros have RunSpecifiedBenchmarks under the benchmark namespace,
81 namespace benchmark { namespace
83 } // namespace benchmark
86 ::benchmark::Initialize(&argc, argv);
88 benchmark::RunTheBenchmarksNamespaced();
  /external/autotest/client/site_tests/platform_LibCBench/
platform_LibCBench.py 50 # Output for each benchmark looks like the following:
63 for benchmark in results:
64 average = sum(results[benchmark]) / len(results[benchmark])
65 minimum = min(results[benchmark])
66 maximum = max(results[benchmark])
72 (benchmark, minimum, maximum, difference, average,
75 key_string = re.sub('[^\w]', '_', benchmark)

Completed in 1087 milliseconds

1 23 4 5 6 7 8 91011>>