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

1 2 3 4 5 6 7 8 91011>>

  /system/netd/tests/benchmarks/
main.cpp 17 #include <benchmark/benchmark.h>
  /external/google-benchmark/test/
donotoptimize_test.cc 1 #include "benchmark/benchmark.h"
16 benchmark::DoNotOptimize(buffer8);
19 benchmark::DoNotOptimize(buffer20);
22 benchmark::DoNotOptimize(buffer1024);
23 benchmark::DoNotOptimize(&buffer1024[0]);
26 benchmark::DoNotOptimize(x);
27 benchmark::DoNotOptimize(&x);
28 benchmark::DoNotOptimize(x += 42);
30 benchmark::DoNotOptimize(double_up(x))
    [all...]
basic_test.cc 2 #include "benchmark/benchmark_api.h"
4 #define BASIC_BENCHMARK_TEST(x) BENCHMARK(x)->Arg(8)->Arg(512)->Arg(8192)
6 void BM_empty(benchmark::State& state) {
8 benchmark::DoNotOptimize(state.iterations());
11 BENCHMARK(BM_empty);
12 BENCHMARK(BM_empty)->ThreadPerCpu();
14 void BM_spin_empty(benchmark::State& state) {
17 benchmark::DoNotOptimize(x);
24 void BM_spin_pause_before(benchmark::State& state) {
26 benchmark::DoNotOptimize(i)
    [all...]
diagnostics_test.cc 14 #include "benchmark/benchmark_api.h"
28 void try_invalid_pause_resume(benchmark::State& state) {
45 void BM_diagnostic_test(benchmark::State& state) {
51 benchmark::DoNotOptimize(state.iterations());
58 BENCHMARK(BM_diagnostic_test);
61 benchmark::internal::GetAbortHandler() = &TestHandler;
62 benchmark::Initialize(&argc, argv);
63 benchmark::RunSpecifiedBenchmarks();
  /external/libcxx/utils/google-benchmark/test/
donotoptimize_test.cc 1 #include "benchmark/benchmark.h"
16 benchmark::DoNotOptimize(buffer8);
19 benchmark::DoNotOptimize(buffer20);
22 benchmark::DoNotOptimize(buffer1024);
23 benchmark::DoNotOptimize(&buffer1024[0]);
26 benchmark::DoNotOptimize(x);
27 benchmark::DoNotOptimize(&x);
28 benchmark::DoNotOptimize(x += 42);
30 benchmark::DoNotOptimize(double_up(x))
    [all...]
basic_test.cc 2 #include "benchmark/benchmark_api.h"
4 #define BASIC_BENCHMARK_TEST(x) BENCHMARK(x)->Arg(8)->Arg(512)->Arg(8192)
6 void BM_empty(benchmark::State& state) {
8 benchmark::DoNotOptimize(state.iterations());
11 BENCHMARK(BM_empty);
12 BENCHMARK(BM_empty)->ThreadPerCpu();
14 void BM_spin_empty(benchmark::State& state) {
17 benchmark::DoNotOptimize(x);
24 void BM_spin_pause_before(benchmark::State& state) {
26 benchmark::DoNotOptimize(i)
    [all...]
diagnostics_test.cc 14 #include "benchmark/benchmark_api.h"
28 void try_invalid_pause_resume(benchmark::State& state) {
45 void BM_diagnostic_test(benchmark::State& state) {
51 benchmark::DoNotOptimize(state.iterations());
58 BENCHMARK(BM_diagnostic_test);
61 benchmark::internal::GetAbortHandler() = &TestHandler;
62 benchmark::Initialize(&argc, argv);
63 benchmark::RunSpecifiedBenchmarks();
  /external/google-benchmark/src/
sysinfo.h 4 namespace benchmark { namespace
8 } // end namespace benchmark
  /external/libcxx/utils/google-benchmark/src/
sysinfo.h 4 namespace benchmark { namespace
8 } // end namespace benchmark
  /frameworks/base/libs/hwui/tests/microbench/
RenderNodeBench.cpp 17 #include <benchmark/benchmark.h>
24 void BM_RenderNode_create(benchmark::State& state) {
28 benchmark::DoNotOptimize(node);
32 BENCHMARK(BM_RenderNode_create);
main.cpp 22 #include <benchmark/benchmark.h>
31 benchmark::Initialize(&argc, argv);
33 benchmark::RunSpecifiedBenchmarks();
LinearAllocatorBench.cpp 17 #include <benchmark/benchmark.h>
26 static void BM_LinearStdAllocator_vectorBaseline(benchmark::State& state) {
32 benchmark::DoNotOptimize(&v);
35 BENCHMARK(BM_LinearStdAllocator_vectorBaseline);
37 static void BM_LinearStdAllocator_vector(benchmark::State& state) {
45 benchmark::DoNotOptimize(&v);
48 BENCHMARK(BM_LinearStdAllocator_vector);
PathParserBench.cpp 17 #include <benchmark/benchmark.h>
29 void BM_PathParser_parseStringPathForSkPath(benchmark::State& state) {
35 benchmark::DoNotOptimize(&result);
36 benchmark::DoNotOptimize(&skPath);
39 BENCHMARK(BM_PathParser_parseStringPathForSkPath);
41 void BM_PathParser_parseStringPathForPathData(benchmark::State& state) {
47 benchmark::DoNotOptimize(&result);
48 benchmark::DoNotOptimize(&outData);
51 BENCHMARK(BM_PathParser_parseStringPathForPathData)
    [all...]
  /frameworks/minikin/tests/perftests/
FontLanguage.cpp 16 #include <benchmark/benchmark.h>
22 static void BM_FontLanguage_en_US(benchmark::State& state) {
27 BENCHMARK(BM_FontLanguage_en_US);
29 static void BM_FontLanguage_en_Latn_US(benchmark::State& state) {
34 BENCHMARK(BM_FontLanguage_en_Latn_US);
36 static void BM_FontLanguage_en_Latn_US_u_em_emoji(benchmark::State& state) {
41 BENCHMARK(BM_FontLanguage_en_Latn_US_u_em_emoji);
FontFamily.cpp 16 #include <benchmark/benchmark.h>
23 static void BM_FontFamily_create(benchmark::State& state) {
33 BENCHMARK(BM_FontFamily_create);
  /external/toolchain-utils/user_activity_benchmarks/
collect_telemetry_profiles.sh 7 # Reads the benchmark names from the telemetry_benchmark_file. Each benchmark
58 while read benchmark
65 run_local=False test=$benchmark " $IP telemetry_Crosperf
67 echo "Failed to run the $benchmark telemetry benchmark with Autotest."
72 cp "$LATEST_PERF_PROFILE" "$RESULTS_PATH/${benchmark}.data"
75 "$PERF_DATA_RESULTS_PATH/${benchmark}.data for the $benchmark " \
76 "telemetry benchmark.
    [all...]
  /bionic/benchmarks/
unistd_benchmark.cpp 20 #include <benchmark/benchmark.h>
22 static void BM_unistd_getpid(benchmark::State& state) {
27 BENCHMARK(BM_unistd_getpid);
29 static void BM_unistd_getpid_syscall(benchmark::State& state) {
34 BENCHMARK(BM_unistd_getpid_syscall);
41 static void BM_unistd_gettid(benchmark::State& state) {
46 BENCHMARK(BM_unistd_gettid);
50 void BM_unistd_gettid_syscall(benchmark::State& state) {
55 BENCHMARK(BM_unistd_gettid_syscall)
    [all...]
  /external/eigen/bench/
benchmark_suite 4 $CXX -O3 -I .. -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null
6 $CXX -O3 -I .. benchmark.cpp -o benchmark && time ./benchmark >/dev/null
8 $CXX -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null
10 $CXX -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR benchmark.cpp -o benchmark && time ./benchmark >/dev/nul
    [all...]
bench_unrolling 9 $CXX -O3 -I.. -DNDEBUG benchmark.cpp -DMATSIZE=$i -DEIGEN_UNROLLING_LIMIT=400 -o benchmark && time ./benchmark >/dev/null
10 $CXX -O3 -I.. -DNDEBUG -finline-limit=10000 benchmark.cpp -DMATSIZE=$i -DEIGEN_DONT_USE_UNROLLED_LOOPS=1 -o benchmark && time ./benchmark >/dev/null
  /external/libcxx/benchmarks/
util_smartptr.bench.cpp 12 #include "benchmark/benchmark_api.h"
14 static void BM_SharedPtrCreateDestroy(benchmark::State& st) {
17 benchmark::DoNotOptimize(sp.get());
20 BENCHMARK(BM_SharedPtrCreateDestroy);
22 static void BM_SharedPtrIncDecRef(benchmark::State& st) {
24 benchmark::DoNotOptimize(sp.get());
27 benchmark::ClobberMemory();
30 BENCHMARK(BM_SharedPtrIncDecRef);
32 static void BM_WeakPtrIncDecRef(benchmark::State& st) {
34 benchmark::DoNotOptimize(sp.get());
    [all...]
ContainerBenchmarks.hpp 6 #include "benchmark/benchmark_api.h"
12 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) {
16 benchmark::DoNotOptimize(&in);
19 benchmark::DoNotOptimize(c.data());
24 void BM_InsertValue(benchmark::State& st, Container c, GenInputs gen) {
30 benchmark::DoNotOptimize(&(*c.insert(*it).first));
32 benchmark::ClobberMemory();
37 void BM_InsertValueRehash(benchmark::State& st, Container c, GenInputs gen) {
44 benchmark::DoNotOptimize(&(*c.insert(*it).first));
46 benchmark::ClobberMemory()
    [all...]
filesystem.bench.cpp 3 #include "benchmark/benchmark_api.h"
13 void BM_PathConstructString(benchmark::State &st, GenInputs gen) {
19 benchmark::DoNotOptimize(PP.native().data());
22 benchmark::DoNotOptimize(P.native().data());
30 void BM_PathConstructCStr(benchmark::State &st, GenInputs gen) {
36 benchmark::DoNotOptimize(PP.native().data());
39 benchmark::DoNotOptimize(P.native().data());
47 void BM_PathConstructIter(benchmark::State &st, GenInputs gen) {
56 benchmark::DoNotOptimize(PP.native().data());
57 benchmark::DoNotOptimize(Start)
    [all...]
  /system/core/logwrapper/
android_fork_execvp_ext_benchmark.cpp 20 #include <benchmark/benchmark.h>
22 static void BM_android_fork_execvp_ext(benchmark::State& state) {
32 BENCHMARK(BM_android_fork_execvp_ext);
  /system/core/logcat/tests/
exec_benchmark.cpp 20 #include <benchmark/benchmark.h>
25 static void logcat_popen_libc(benchmark::State& state, const char* cmd) {
34 static void BM_logcat_stat_popen_libc(benchmark::State& state) {
37 BENCHMARK(BM_logcat_stat_popen_libc);
39 static void logcat_popen_liblogcat(benchmark::State& state, const char* cmd) {
49 static void BM_logcat_stat_popen_liblogcat(benchmark::State& state) {
52 BENCHMARK(BM_logcat_stat_popen_liblogcat);
54 static void logcat_system_libc(benchmark::State& state, const char* cmd) {
60 static void BM_logcat_stat_system_libc(benchmark::State& state)
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
MacrobenchmarkAllocationWorker.java 20 import com.google.caliper.runner.Running.Benchmark;
29 * The {@link Worker} for the {@code AllocationInstrument}. This class invokes the benchmark method
36 @Inject MacrobenchmarkAllocationWorker(@Benchmark Object benchmark,
38 super(benchmark, method);
44 measureAllocations(benchmark, benchmarkMethod);
48 return measureAllocations(benchmark, benchmarkMethod).toMeasurements();
51 private AllocationStats measureAllocations(Object benchmark, Method method) throws Exception {
53 method.invoke(benchmark);

Completed in 650 milliseconds

1 2 3 4 5 6 7 8 91011>>