HomeSort by relevance Sort by last modified time
    Searched refs:benchmark (Results 26 - 50 of 400) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/minikin/tests/perftests/
WordBreaker.cpp 16 #include <benchmark/benchmark.h>
23 static void BM_WordBreaker_English(benchmark::State& state) {
35 BENCHMARK(BM_WordBreaker_English);
  /bionic/benchmarks/
time_benchmark.cpp 22 #include <benchmark/benchmark.h>
24 static void BM_time_clock_gettime(benchmark::State& state) {
30 BENCHMARK(BM_time_clock_gettime);
32 static void BM_time_clock_gettime_syscall(benchmark::State& state) {
38 BENCHMARK(BM_time_clock_gettime_syscall);
40 static void BM_time_gettimeofday(benchmark::State& state) {
46 BENCHMARK(BM_time_gettimeofday);
48 void BM_time_gettimeofday_syscall(benchmark::State& state) {
54 BENCHMARK(BM_time_gettimeofday_syscall)
    [all...]
pthread_benchmark.cpp 19 #include <benchmark/benchmark.h>
24 static void BM_pthread_self(benchmark::State& state) {
29 BENCHMARK(BM_pthread_self);
31 static void BM_pthread_getspecific(benchmark::State& state) {
41 BENCHMARK(BM_pthread_getspecific);
43 static void BM_pthread_setspecific(benchmark::State& state) {
53 BENCHMARK(BM_pthread_setspecific);
58 static void BM_pthread_once(benchmark::State& state) {
66 BENCHMARK(BM_pthread_once)
    [all...]
stdio_benchmark.cpp 21 #include <benchmark/benchmark.h>
30 void ReadWriteTest(benchmark::State& state, Fn f, bool buffered) {
50 void BM_stdio_fread(benchmark::State& state) {
53 BENCHMARK(BM_stdio_fread)->AT_COMMON_SIZES;
55 void BM_stdio_fwrite(benchmark::State& state) {
58 BENCHMARK(BM_stdio_fwrite)->AT_COMMON_SIZES;
60 void BM_stdio_fread_unbuffered(benchmark::State& state) {
63 BENCHMARK(BM_stdio_fread_unbuffered)->AT_COMMON_SIZES;
65 void BM_stdio_fwrite_unbuffered(benchmark::State& state)
    [all...]
atomic_benchmark.cpp 23 #include <benchmark/benchmark.h>
46 void BM_empty(benchmark::State& state) {
51 BENCHMARK(BM_empty);
53 static void BM_load_relaxed(benchmark::State& state) {
61 BENCHMARK(BM_load_relaxed);
63 static void BM_load_acquire(benchmark::State& state) {
71 BENCHMARK(BM_load_acquire);
73 static void BM_store_release(benchmark::State& state) {
80 BENCHMARK(BM_store_release)
    [all...]
  /external/toolchain-utils/
update_telemetry_defaults.py 4 """Script to maintain the Telemetry benchmark default results file.
47 def ListCurrentDefaults(self, benchmark=all):
49 # can specify the name of a particular benchmark to see only that
50 # benchmark's default values.
52 print('The benchmark default results are currently empty.')
53 if benchmark == all:
60 elif benchmark in self._defaults:
61 results = self._defaults[benchmark]
62 out_str = benchmark + ' : '
67 print("Error: Unrecognized benchmark '%s'" % benchmark
    [all...]
  /frameworks/base/libs/hwui/tests/microbench/
DisplayListCanvasBench.cpp 17 #include <benchmark/benchmark.h>
26 void BM_DisplayList_alloc(benchmark::State& benchState) {
29 benchmark::DoNotOptimize(displayList);
33 BENCHMARK(BM_DisplayList_alloc);
35 void BM_DisplayList_alloc_theoretical(benchmark::State& benchState) {
38 benchmark::DoNotOptimize(displayList);
42 BENCHMARK(BM_DisplayList_alloc_theoretical);
44 void BM_DisplayListCanvas_record_empty(benchmark::State& benchState) {
50 benchmark::DoNotOptimize(canvas.get())
    [all...]
TaskManagerBench.cpp 17 #include <benchmark/benchmark.h>
41 void BM_TaskManager_allocateTask(benchmark::State& state) {
47 benchmark::DoNotOptimize(tasks.back());
50 BENCHMARK(BM_TaskManager_allocateTask);
52 void BM_TaskManager_enqueueTask(benchmark::State& state) {
60 benchmark::DoNotOptimize(tasks.back());
68 BENCHMARK(BM_TaskManager_enqueueTask);
70 void BM_TaskManager_enqueueRunDeleteTask(benchmark::State& state) {
78 benchmark::DoNotOptimize(tasks.back())
    [all...]
  /external/google-benchmark/src/
arraysize.h 6 namespace benchmark { namespace
28 #define arraysize(array) (sizeof(::benchmark::internal::ArraySizeHelper(array)))
31 } // end namespace benchmark
  /external/libcxx/benchmarks/
string.bench.cpp 5 #include "benchmark/benchmark_api.h"
10 // Benchmark when there is no match.
11 static void BM_StringFindNoMatch(benchmark::State &state) {
15 benchmark::DoNotOptimize(s1.find(s2));
17 BENCHMARK(BM_StringFindNoMatch)->Range(10, MAX_STRING_LEN);
19 // Benchmark when the string matches first time.
20 static void BM_StringFindAllMatch(benchmark::State &state) {
24 benchmark::DoNotOptimize(s1.find(s2));
26 BENCHMARK(BM_StringFindAllMatch)->Range(1, MAX_STRING_LEN);
28 // Benchmark when the string matches somewhere in the end
    [all...]
  /external/libcxx/utils/google-benchmark/src/
arraysize.h 6 namespace benchmark { namespace
28 #define arraysize(array) (sizeof(::benchmark::internal::ArraySizeHelper(array)))
31 } // end namespace benchmark
  /frameworks/base/libs/androidfw/tests/
BenchMain.cpp 19 #include "benchmark/benchmark.h"
24 ::benchmark::Initialize(&argc, argv);
29 size_t result = ::benchmark::RunSpecifiedBenchmarks();
  /prebuilts/go/darwin-x86/src/cmd/go/testdata/src/benchfatal/
x_test.go 6 b.Fatal("called by benchmark")
  /prebuilts/go/linux-x86/src/cmd/go/testdata/src/benchfatal/
x_test.go 6 b.Fatal("called by benchmark")
  /external/google-benchmark/test/
register_benchmark_test.cc 7 #include "benchmark/benchmark.h"
11 class TestReporter : public benchmark::ConsoleReporter {
29 typedef benchmark::BenchmarkReporter::Run Run;
58 typedef benchmark::internal::Benchmark* ReturnVal;
63 void BM_function(benchmark::State& state) {
67 BENCHMARK(BM_function);
68 ReturnVal dummy = benchmark::RegisterBenchmark(
79 void BM_extra_args(benchmark::State& st, const char* label)
    [all...]
map_test.cc 1 #include "benchmark/benchmark.h"
19 static void BM_MapLookup(benchmark::State& state) {
26 benchmark::DoNotOptimize(m.find(rand() % size));
31 BENCHMARK(BM_MapLookup)->Range(1 << 3, 1 << 12);
34 class MapFixture : public ::benchmark::Fixture {
36 void SetUp(const ::benchmark::State& st) {
40 void TearDown(const ::benchmark::State&) { m.clear(); }
45 BENCHMARK_DEFINE_F(MapFixture, Lookup)(benchmark::State& state) {
49 benchmark::DoNotOptimize(m.find(rand() % size))
    [all...]
cxx03_test.cc 5 #include "benchmark/benchmark.h"
11 void BM_empty(benchmark::State& state) {
17 BENCHMARK(BM_empty);
21 void BM_old_arg_range_interface(benchmark::State& state) {
27 BENCHMARK(BM_old_arg_range_interface)->ArgPair(1, 2)->RangePair(5, 5, 6, 6);
30 void BM_template2(benchmark::State& state) {
36 void BM_template1(benchmark::State& state) {
  /external/libcxx/utils/google-benchmark/test/
register_benchmark_test.cc 7 #include "benchmark/benchmark.h"
11 class TestReporter : public benchmark::ConsoleReporter {
29 typedef benchmark::BenchmarkReporter::Run Run;
58 typedef benchmark::internal::Benchmark* ReturnVal;
63 void BM_function(benchmark::State& state) {
67 BENCHMARK(BM_function);
68 ReturnVal dummy = benchmark::RegisterBenchmark(
79 void BM_extra_args(benchmark::State& st, const char* label)
    [all...]
map_test.cc 1 #include "benchmark/benchmark.h"
19 static void BM_MapLookup(benchmark::State& state) {
26 benchmark::DoNotOptimize(m.find(rand() % size));
31 BENCHMARK(BM_MapLookup)->Range(1 << 3, 1 << 12);
34 class MapFixture : public ::benchmark::Fixture {
36 void SetUp(const ::benchmark::State& st) {
40 void TearDown(const ::benchmark::State&) { m.clear(); }
45 BENCHMARK_DEFINE_F(MapFixture, Lookup)(benchmark::State& state) {
49 benchmark::DoNotOptimize(m.find(rand() % size))
    [all...]
  /external/vogar/src/vogar/android/
DexTask.java 28 private final boolean benchmark; field in class:DexTask
34 public DexTask(AndroidSdk androidSdk, Classpath classpath, boolean benchmark, String name,
39 this.benchmark = benchmark;
49 if (benchmark && action != null) {
  /prebuilts/go/darwin-x86/test/bench/go1/
regexp_test.go 13 // benchmark based on regexp/exec_test.go
33 func benchmark(b *testing.B, re string, n int) { func
52 func BenchmarkRegexpMatchEasy0_32(b *testing.B) { benchmark(b, easy0, 32<<0) }
53 func BenchmarkRegexpMatchEasy0_1K(b *testing.B) { benchmark(b, easy0, 1<<10) }
54 func BenchmarkRegexpMatchEasy1_32(b *testing.B) { benchmark(b, easy1, 32<<0) }
55 func BenchmarkRegexpMatchEasy1_1K(b *testing.B) { benchmark(b, easy1, 1<<10) }
56 func BenchmarkRegexpMatchMedium_32(b *testing.B) { benchmark(b, medium, 1<<0) }
57 func BenchmarkRegexpMatchMedium_1K(b *testing.B) { benchmark(b, medium, 1<<10) }
58 func BenchmarkRegexpMatchHard_32(b *testing.B) { benchmark(b, hard, 32<<0) }
59 func BenchmarkRegexpMatchHard_1K(b *testing.B) { benchmark(b, hard, 1<<10)
    [all...]
  /prebuilts/go/linux-x86/test/bench/go1/
regexp_test.go 13 // benchmark based on regexp/exec_test.go
33 func benchmark(b *testing.B, re string, n int) { func
52 func BenchmarkRegexpMatchEasy0_32(b *testing.B) { benchmark(b, easy0, 32<<0) }
53 func BenchmarkRegexpMatchEasy0_1K(b *testing.B) { benchmark(b, easy0, 1<<10) }
54 func BenchmarkRegexpMatchEasy1_32(b *testing.B) { benchmark(b, easy1, 32<<0) }
55 func BenchmarkRegexpMatchEasy1_1K(b *testing.B) { benchmark(b, easy1, 1<<10) }
56 func BenchmarkRegexpMatchMedium_32(b *testing.B) { benchmark(b, medium, 1<<0) }
57 func BenchmarkRegexpMatchMedium_1K(b *testing.B) { benchmark(b, medium, 1<<10) }
58 func BenchmarkRegexpMatchHard_32(b *testing.B) { benchmark(b, hard, 32<<0) }
59 func BenchmarkRegexpMatchHard_1K(b *testing.B) { benchmark(b, hard, 1<<10)
    [all...]
  /libcore/luni/src/benchmark/native/
libcore_io_Memory_bench.cpp 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
    [all...]
  /build/kati/
fileutil_bench.cc 18 #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);
  /external/autotest/tko/
machine_benchmark.cgi 27 benchmark = row[0]
28 testname = re.sub(r'\..*', '', benchmark)
29 all_benchmarks.append(benchmark)
33 for benchmark in all_benchmarks:
35 where_tests = { 'subdir': benchmark, 'status_word' : 'GOOD' }
42 available_params.add("%s - %s" % (benchmark,
86 for benchmark in benchmark_key:
88 where = { 'subdir': benchmark, 'status_word' : 'GOOD' }
94 benchmark_data[benchmark] = data
99 header_row = [ display.box('Benchmark', header=True)
    [all...]

Completed in 372 milliseconds

12 3 4 5 6 7 8 91011>>