Home
last modified time | relevance | path

Searched refs:iters (Results 1 – 8 of 8) sorted by relevance

/bionic/benchmarks/
Dmath_benchmark.cpp26 static void BM_math_sqrt(int iters) { in BM_math_sqrt() argument
31 for (int i = 0; i < iters; ++i) { in BM_math_sqrt()
39 static void BM_math_log10(int iters) { in BM_math_log10() argument
44 for (int i = 0; i < iters; ++i) { in BM_math_log10()
52 static void BM_math_logb(int iters) { in BM_math_logb() argument
57 for (int i = 0; i < iters; ++i) { in BM_math_logb()
65 static void BM_math_isinf_NORMAL(int iters) { in BM_math_isinf_NORMAL() argument
70 for (int i = 0; i < iters; ++i) { in BM_math_isinf_NORMAL()
78 static void BM_math_isinf_NAN(int iters) { in BM_math_isinf_NAN() argument
83 for (int i = 0; i < iters; ++i) { in BM_math_isinf_NAN()
[all …]
Dunistd_benchmark.cpp22 static void BM_unistd_getpid(int iters) { in BM_unistd_getpid() argument
25 for (int i = 0; i < iters; ++i) { in BM_unistd_getpid()
33 static void BM_unistd_getpid_syscall(int iters) { in BM_unistd_getpid_syscall() argument
36 for (int i = 0; i < iters; ++i) { in BM_unistd_getpid_syscall()
47 static void BM_unistd_gettid(int iters) { in BM_unistd_gettid() argument
50 for (int i = 0; i < iters; ++i) { in BM_unistd_gettid()
58 static void BM_unistd_gettid_syscall(int iters) { in BM_unistd_gettid_syscall() argument
61 for (int i = 0; i < iters; ++i) { in BM_unistd_gettid_syscall()
Dtime_benchmark.cpp22 static void BM_time_clock_gettime(int iters) { in BM_time_clock_gettime() argument
26 for (int i = 0; i < iters; ++i) { in BM_time_clock_gettime()
34 static void BM_time_clock_gettime_syscall(int iters) { in BM_time_clock_gettime_syscall() argument
38 for (int i = 0; i < iters; ++i) { in BM_time_clock_gettime_syscall()
46 static void BM_time_gettimeofday(int iters) { in BM_time_gettimeofday() argument
50 for (int i = 0; i < iters; ++i) { in BM_time_gettimeofday()
58 static void BM_time_gettimeofday_syscall(int iters) { in BM_time_gettimeofday_syscall() argument
62 for (int i = 0; i < iters; ++i) { in BM_time_gettimeofday_syscall()
70 static void BM_time_time(int iters) { in BM_time_time() argument
73 for (int i = 0; i < iters; ++i) { in BM_time_time()
Dpthread_benchmark.cpp24 static void BM_pthread_self(int iters) { in BM_pthread_self() argument
27 for (int i = 0; i < iters; ++i) { in BM_pthread_self()
35 static void BM_pthread_getspecific(int iters) { in BM_pthread_getspecific() argument
41 for (int i = 0; i < iters; ++i) { in BM_pthread_getspecific()
53 static void BM_pthread_once(int iters) { in BM_pthread_once() argument
59 for (int i = 0; i < iters; ++i) { in BM_pthread_once()
67 static void BM_pthread_mutex_lock(int iters) { in BM_pthread_mutex_lock() argument
72 for (int i = 0; i < iters; ++i) { in BM_pthread_mutex_lock()
81 static void BM_pthread_mutex_lock_ERRORCHECK(int iters) { in BM_pthread_mutex_lock_ERRORCHECK() argument
86 for (int i = 0; i < iters; ++i) { in BM_pthread_mutex_lock_ERRORCHECK()
[all …]
Dstring_benchmark.cpp29 static void BM_string_memcmp(int iters, int nbytes) { in BM_string_memcmp() argument
37 for (int i = 0; i < iters; ++i) { in BM_string_memcmp()
42 SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(nbytes)); in BM_string_memcmp()
48 static void BM_string_memcpy(int iters, int nbytes) { in BM_string_memcpy() argument
54 for (int i = 0; i < iters; ++i) { in BM_string_memcpy()
59 SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(nbytes)); in BM_string_memcpy()
65 static void BM_string_memmove(int iters, int nbytes) { in BM_string_memmove() argument
71 for (int i = 0; i < iters; ++i) { in BM_string_memmove()
76 SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(nbytes)); in BM_string_memmove()
81 static void BM_string_memset(int iters, int nbytes) { in BM_string_memset() argument
[all …]
Dproperty_benchmark.cpp141 static void BM_property_get(int iters, int nprops) in BM_property_get() argument
151 srandom(iters * nprops); in BM_property_get()
155 for (int i = 0; i < iters; i++) { in BM_property_get()
162 static void BM_property_find(int iters, int nprops) in BM_property_find() argument
171 srandom(iters * nprops); in BM_property_find()
175 for (int i = 0; i < iters; i++) { in BM_property_find()
182 static void BM_property_read(int iters, int nprops) in BM_property_read() argument
191 srandom(iters * nprops); in BM_property_read()
192 const prop_info** pinfo = new const prop_info*[iters]; in BM_property_read()
195 for (int i = 0; i < iters; i++) { in BM_property_read()
[all …]
Dstdio_benchmark.cpp28 static void BM_stdio_fread(int iters, int chunk_size) { in BM_stdio_fread() argument
34 for (int i = 0; i < iters; ++i) { in BM_stdio_fread()
39 SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(chunk_size)); in BM_stdio_fread()
46 static void BM_stdio_fwrite(int iters, int chunk_size) { in BM_stdio_fwrite() argument
52 for (int i = 0; i < iters; ++i) { in BM_stdio_fwrite()
57 SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(chunk_size)); in BM_stdio_fwrite()
Dsemaphore_benchmark.cpp21 static void BM_semaphore_sem_getvalue(int iters) { in BM_semaphore_sem_getvalue() argument
27 for (int i = 0; i < iters; ++i) { in BM_semaphore_sem_getvalue()
36 static void BM_semaphore_sem_wait_sem_post(int iters) { in BM_semaphore_sem_wait_sem_post() argument
42 for (int i = 0; i < iters; ++i) { in BM_semaphore_sem_wait_sem_post()