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

1 2

  /bionic/benchmarks/
unistd_benchmark.cpp 17 #include "benchmark.h"
31 BENCHMARK(BM_unistd_getpid);
42 BENCHMARK(BM_unistd_getpid_syscall);
56 BENCHMARK(BM_unistd_gettid);
67 BENCHMARK(BM_unistd_gettid_syscall);
time_benchmark.cpp 17 #include "benchmark.h"
32 BENCHMARK(BM_time_clock_gettime);
44 BENCHMARK(BM_time_clock_gettime_syscall);
56 BENCHMARK(BM_time_gettimeofday);
68 BENCHMARK(BM_time_gettimeofday_syscall);
79 BENCHMARK(BM_time_time);
semaphore_benchmark.cpp 17 #include "benchmark.h"
34 BENCHMARK(BM_semaphore_sem_getvalue);
49 BENCHMARK(BM_semaphore_sem_wait_sem_post);
pthread_benchmark.cpp 17 #include "benchmark.h"
33 BENCHMARK(BM_pthread_self);
48 BENCHMARK(BM_pthread_getspecific);
65 BENCHMARK(BM_pthread_once);
79 BENCHMARK(BM_pthread_mutex_lock);
93 BENCHMARK(BM_pthread_mutex_lock_ERRORCHECK);
107 BENCHMARK(BM_pthread_mutex_lock_RECURSIVE);
math_benchmark.cpp 17 #include "benchmark.h"
37 BENCHMARK(BM_math_sqrt);
50 BENCHMARK(BM_math_log10);
63 BENCHMARK(BM_math_logb);
76 BENCHMARK(BM_math_isinf_NORMAL);
89 BENCHMARK(BM_math_isinf_NAN);
102 BENCHMARK(BM_math_isinf_INFINITE);
115 BENCHMARK(BM_math_isinf_ZERO);
127 BENCHMARK(BM_math_sin_fast);
143 BENCHMARK(BM_math_sin_feupdateenv)
    [all...]
string_benchmark.cpp 17 #include "benchmark.h"
46 BENCHMARK(BM_string_memcmp)->AT_COMMON_SIZES;
63 BENCHMARK(BM_string_memcpy)->AT_COMMON_SIZES;
79 BENCHMARK(BM_string_memmove)->AT_COMMON_SIZES;
94 BENCHMARK(BM_string_memset)->AT_COMMON_SIZES;
112 BENCHMARK(BM_string_strlen)->AT_COMMON_SIZES;
stdio_benchmark.cpp 17 #include "benchmark.h"
43 BENCHMARK(BM_stdio_fread)->AT_COMMON_SIZES;
61 BENCHMARK(BM_stdio_fwrite)->AT_COMMON_SIZES;
benchmark.h 23 class Benchmark {
25 Benchmark(const char* name, void (*fn)(int)) {
29 Benchmark(const char* name, void (*fn_range)(int, int)) {
33 Benchmark* Arg(int x);
59 #define BENCHMARK(f) \
60 static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = \
61 (new ::testing::Benchmark(#f, f))
property_benchmark.cpp 17 #include "benchmark.h"
160 BENCHMARK(BM_property_get)->TEST_NUM_PROPS;
180 BENCHMARK(BM_property_find)->TEST_NUM_PROPS;
207 BENCHMARK(BM_property_read)->TEST_NUM_PROPS;
233 BENCHMARK(BM_property_serial)->TEST_NUM_PROPS;
  /external/chromium_org/third_party/re2/re2/testing/
regexp_benchmark.cc 12 #include "util/benchmark.h"
133 // Benchmark: failed search for regexp in random text.
265 // Benchmark: FindAndConsume
284 // Benchmark: successful anchored search.
344 // Benchmark: use regexp to find phone number.
362 BENCHMARK(Search_Digits_DFA)->ThreadRange(1, NumCPUs());
363 BENCHMARK(Search_Digits_NFA)->ThreadRange(1, NumCPUs());
364 BENCHMARK(Search_Digits_OnePass)->ThreadRange(1, NumCPUs());
366 BENCHMARK(Search_Digits_PCRE)->ThreadRange(1, NumCPUs());
368 BENCHMARK(Search_Digits_RE2)->ThreadRange(1, NumCPUs())
    [all...]
  /external/regex-re2/re2/testing/
regexp_benchmark.cc 12 #include "util/benchmark.h"
133 // Benchmark: failed search for regexp in random text.
265 // Benchmark: FindAndConsume
284 // Benchmark: successful anchored search.
344 // Benchmark: use regexp to find phone number.
362 BENCHMARK(Search_Digits_DFA)->ThreadRange(1, NumCPUs());
363 BENCHMARK(Search_Digits_NFA)->ThreadRange(1, NumCPUs());
364 BENCHMARK(Search_Digits_OnePass)->ThreadRange(1, NumCPUs());
366 BENCHMARK(Search_Digits_PCRE)->ThreadRange(1, NumCPUs());
368 BENCHMARK(Search_Digits_RE2)->ThreadRange(1, NumCPUs())
    [all...]
  /system/core/liblog/tests/
liblog_benchmark.cpp 23 #include "benchmark.h"
56 BENCHMARK(BM_log_maximum_retry);
72 BENCHMARK(BM_log_maximum);
85 BENCHMARK(BM_clock_overhead);
100 BENCHMARK(BM_log_overhead);
194 BENCHMARK(BM_log_latency);
268 BENCHMARK(BM_log_delay);
benchmark.h 29 class Benchmark;
33 void BenchmarkRegister(Benchmark* bm);
36 class Benchmark {
38 Benchmark(const char* name, void (*fn)(int)) : name_(strdup(name)), fn_(fn) {
41 Benchmark(const char* name) : name_(strdup(name)), fn_(NULL) {}
43 virtual ~Benchmark() {
59 class BenchmarkWantsArgBase : public Benchmark {
61 BenchmarkWantsArgBase(const char* name, void (*fn)(int, T)) : Benchmark(name) {
71 virtual void RunFn(int) { printf("can't run arg benchmark %s without arg\n", Name()); }
118 static inline Benchmark* BenchmarkFactory(const char* name, void (*fn)(int))
    [all...]
  /external/chromium_org/third_party/re2/util/
benchmark.h 9 struct Benchmark {
19 Benchmark(const char* name, void (*f)(int)) { Clear(name); fn = f; Register(); }
20 Benchmark(const char* name, void (*f)(int, int), int l, int h) { Clear(name); fnr = f; lo = l; hi = h; Register(); }
22 Benchmark* ThreadRange(int lo, int hi) { threadlo = lo; threadhi = hi; return this; }
34 #define BENCHMARK(f) \
35 ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f))
38 ::testing::Benchmark* _benchmark_##f = \
39 (new ::testing::Benchmark(#f, f, lo, hi))
  /external/regex-re2/util/
benchmark.h 9 struct Benchmark {
19 Benchmark(const char* name, void (*f)(int)) { Clear(name); fn = f; Register(); }
20 Benchmark(const char* name, void (*f)(int, int), int l, int h) { Clear(name); fnr = f; lo = l; hi = h; Register(); }
22 Benchmark* ThreadRange(int lo, int hi) { threadlo = lo; threadhi = hi; return this; }
34 #define BENCHMARK(f) \
35 ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f))
38 ::testing::Benchmark* _benchmark_##f = \
39 (new ::testing::Benchmark(#f, f, lo, hi))
  /frameworks/base/tools/aapt/
Main.h 23 //#define BENCHMARK 1
25 #if BENCHMARK
27 #endif /* BENCHMARK */
Package.cpp 54 #if BENCHMARK
55 fprintf(stdout, "BENCHMARK: Starting APK Bundling \n");
57 #endif /* BENCHMARK */
212 #if BENCHMARK
213 fprintf(stdout, "BENCHMARK: End APK Bundling. Time Elapsed: %f ms \n",(clock() - startAPKTime)/1000.0);
214 #endif /* BENCHMARK */
Resource.cpp     [all...]
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
ImageProcessingTest.java 29 * ImageProcessing benchmark test.
39 private final String BENCHMARK = "Benchmark";
72 Log.v(TAG, "Benchmark for test \"" + mTestName.toString() + "\" is: " + mResult);
82 // Set the benchmark thread to run on ui thread
83 // Synchronized the thread such that the test will wait for the benchmark thread to finish
110 results.putFloat(BENCHMARK, avgResult);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.osgi_3.6.1.R36x_v20100806.jar 
org.eclipse.osgi_3.6.2.R36x_v20101103.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/org.eclipse.osgi/3.9.1.v20130814-1242/
org.eclipse.osgi-3.9.1.v20130814-1242.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.osgi_3.9.1.v20140110-1610.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.osgi_3.6.2.R36x_v20110210.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/org.eclipse.osgi/3.9.0.v20130529-1710/
org.eclipse.osgi-3.9.0.v20130529-1710.jar 

Completed in 1525 milliseconds

1 2