/frameworks/base/libs/hwui/tests/microbench/ |
main.cpp | 17 #include <benchmark/benchmark.h>
|
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...] |
DisplayListCanvasBench.cpp | 17 #include <benchmark/benchmark.h> 36 void BM_DisplayList_alloc(benchmark::State& benchState) { 39 benchmark::DoNotOptimize(displayList); 43 BENCHMARK(BM_DisplayList_alloc); 45 void BM_DisplayList_alloc_theoretical(benchmark::State& benchState) { 48 benchmark::DoNotOptimize(displayList); 52 BENCHMARK(BM_DisplayList_alloc_theoretical); 54 void BM_DisplayListCanvas_record_empty(benchmark::State& benchState) { 60 benchmark::DoNotOptimize(&canvas) [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/ |
sysinfo.h | 4 namespace benchmark { namespace 10 } // end namespace benchmark
|
walltime.h | 6 namespace benchmark { namespace 15 } // end namespace benchmark
|
arraysize.h | 6 namespace benchmark { namespace 29 #define arraysize(array) (sizeof(::benchmark::internal::ArraySizeHelper(array))) 32 } // end namespace benchmark
|
log.h | 6 namespace benchmark { namespace 23 } // end namespace benchmark 25 #define VLOG(x) (::benchmark::internal::GetLogInstanceForLevel(x) \
|
colorprint.h | 4 namespace benchmark { namespace 17 } // end namespace benchmark
|
/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...] |
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> 31 void ReadWriteTest(benchmark::State& state, Fn f, bool buffered) { 51 void BM_stdio_fread(benchmark::State& state) { 54 BENCHMARK(BM_stdio_fread)->AT_COMMON_SIZES; 56 void BM_stdio_fwrite(benchmark::State& state) { 59 BENCHMARK(BM_stdio_fwrite)->AT_COMMON_SIZES; 61 void BM_stdio_fread_unbuffered(benchmark::State& state) { 64 BENCHMARK(BM_stdio_fread_unbuffered)->AT_COMMON_SIZES; 66 void BM_stdio_fwrite_unbuffered(benchmark::State& state) [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/google-benchmark/test/ |
basic_test.cc | 2 #include "benchmark/benchmark_api.h" 5 BENCHMARK(x)->Arg(8)->Arg(512)->Arg(8192) 7 void BM_empty(benchmark::State& state) { 9 benchmark::DoNotOptimize(state.iterations()); 12 BENCHMARK(BM_empty); 13 BENCHMARK(BM_empty)->ThreadPerCpu(); 15 void BM_spin_empty(benchmark::State& state) { 18 benchmark::DoNotOptimize(x); 25 void BM_spin_pause_before(benchmark::State& state) { 27 benchmark::DoNotOptimize(i) [all...] |
filter_test.cc | 1 #include "benchmark/benchmark.h" 15 class TestReporter : public benchmark::ConsoleReporter { 41 static void NoPrefix(benchmark::State& state) { 44 BENCHMARK(NoPrefix); 46 static void BM_Foo(benchmark::State& state) { 49 BENCHMARK(BM_Foo); 52 static void BM_Bar(benchmark::State& state) { 55 BENCHMARK(BM_Bar); 58 static void BM_FooBar(benchmark::State& state) [all...] |
cxx03_test.cc | 4 #include "benchmark/benchmark.h" 10 void BM_empty(benchmark::State& state) { 16 BENCHMARK(BM_empty); 19 void BM_template2(benchmark::State& state) { 25 void BM_template1(benchmark::State& state) {
|
/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);
|
/external/autotest/server/site_tests/telemetry_Benchmarks/ |
telemetry_Benchmarks.py | 10 """Run a telemetry benchmark.""" 14 def run_once(self, host=None, benchmark=None, args={}): 15 """Run a telemetry benchmark. 17 @param host: hostname(ip address) to run the telemetry benchmark on. 18 @param benchmark: telemetry benchmark test to run. 22 telemetry.run_telemetry_benchmark(benchmark, perf_value_writer=self)
|
/external/vogar/src/vogar/android/ |
DexTask.java | 28 private final boolean benchmark; field in class:DexTask 33 public DexTask(AndroidSdk androidSdk, Classpath classpath, boolean benchmark, String name, 38 this.benchmark = benchmark; 47 if (benchmark && action != null) {
|
/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/core/ |
native_benchmark.mk | 6 LOCAL_STATIC_LIBRARIES += libgoogle-benchmark
|
/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...] |