Searched refs:BIONIC_TRIVIAL_BENCHMARK (Results 1 – 7 of 7) sorted by relevance
/bionic/benchmarks/ |
D | ctype_benchmark.cpp | 35 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isalnum_y1, isalnum(A)); 36 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isalnum_y2, isalnum(a)); 37 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isalnum_y3, isalnum(zero)); 38 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isalnum_n, isalnum(underscore)); 40 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isalpha_y1, isalpha(A)); 41 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isalpha_y2, isalpha(a)); 42 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isalpha_n, isalpha(underscore)); 44 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isascii_y, isascii(x)); 45 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isascii_n, isascii(top_bit_set)); 47 BIONIC_TRIVIAL_BENCHMARK(BM_ctype_isblank_y1, isblank(space)); [all …]
|
D | wctype_benchmark.cpp | 22 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towlower_ascii_y, towlower('X')); 23 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towlower_ascii_n, towlower('x')); 25 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towlower_unicode_y, towlower(0x0391)); 26 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towlower_unicode_n, towlower(0x03b1)); 28 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towupper_ascii_y, towupper('x')); 29 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towupper_ascii_n, towupper('X')); 31 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towupper_unicode_y, towupper(0x03b1)); 32 BIONIC_TRIVIAL_BENCHMARK(BM_wctype_towupper_unicode_n, towupper(0x0391));
|
D | dlfcn_benchmark.cpp | 36 BIONIC_TRIVIAL_BENCHMARK(BM_dladdr_libc_printf, bm_dladdr(printf)); 37 BIONIC_TRIVIAL_BENCHMARK(BM_dladdr_libdl_dladdr, bm_dladdr(dladdr)); 38 BIONIC_TRIVIAL_BENCHMARK(BM_dladdr_local_function, bm_dladdr(local_function)); 39 BIONIC_TRIVIAL_BENCHMARK(BM_dladdr_libbase_split, bm_dladdr(android::base::Split));
|
D | unistd_benchmark.cpp | 30 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_getpid, getpid()); 31 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_getpid_syscall, syscall(__NR_getpid)); 35 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_gettid, gettid()); 37 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_gettid_syscall, syscall(__NR_gettid));
|
D | stdlib_benchmark.cpp | 232 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_atoi, atoi(" -123")); 233 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_atol, atol(" -123")); 234 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_strtol, strtol(" -123", nullptr, 0)); 235 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_strtoll, strtoll(" -123", nullptr, 0)); 236 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_strtoul, strtoul(" -123", nullptr, 0)); 237 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_strtoull, strtoull(" -123", nullptr, 0)); 239 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_strtol_hex, strtol("0xdeadbeef", nullptr, 0)); 240 BIONIC_TRIVIAL_BENCHMARK(BM_stdlib_strtoul_hex, strtoul("0xdeadbeef", nullptr, 0));
|
D | inttypes_benchmark.cpp | 22 BIONIC_TRIVIAL_BENCHMARK(BM_inttypes_strtoimax, strtoimax(" -123", nullptr, 0)); 23 BIONIC_TRIVIAL_BENCHMARK(BM_inttypes_strtoumax, strtoumax(" -123", nullptr, 0));
|
D | util.h | 46 #define BIONIC_TRIVIAL_BENCHMARK(__name, __expression) \ macro
|