/glibc-2.36/benchtests/ |
D | bench-pthread-locks.c | 89 timing_t start, stop, cur; in test_mutex() local 100 TIMING_NOW (stop); in test_mutex() 101 TIMING_DIFF (cur, start, stop); in test_mutex() 109 timing_t start, stop, cur; in test_mutex_trylock() local 120 TIMING_NOW (stop); in test_mutex_trylock() 121 TIMING_DIFF (cur, start, stop); in test_mutex_trylock() 130 timing_t start, stop, cur; in test_rwlock_read() local 141 TIMING_NOW (stop); in test_rwlock_read() 142 TIMING_DIFF (cur, start, stop); in test_rwlock_read() 150 timing_t start, stop, cur; in test_rwlock_tryread() local [all …]
|
D | bench-hash-funcs-kernel.h | 43 timing_t start, stop, cur; in CAT() local 53 TIMING_NOW (stop); in CAT() 55 TIMING_DIFF (cur, start, stop); in CAT() 67 timing_t start, stop, cur; in CAT() local 81 TIMING_NOW (stop); in CAT() 83 TIMING_DIFF (cur, start, stop); in CAT()
|
D | bench-arc4random.c | 85 timing_t start, stop, cur; in bench_latency() local 91 TIMING_NOW (stop); in bench_latency() 93 TIMING_DIFF (cur, start, stop); in bench_latency() 127 timing_t start, stop, cur; in bench_buf_latency() local 135 TIMING_NOW (stop); in bench_buf_latency() 137 TIMING_DIFF (cur, start, stop); in bench_buf_latency()
|
D | bench-strchr.c | 102 timing_t start, stop, cur; in do_one_rand_plus_branch_test() local 114 TIMING_NOW (stop); in do_one_rand_plus_branch_test() 116 TIMING_DIFF (cur, start, stop); in do_one_rand_plus_branch_test() 126 timing_t start, stop, cur; in do_one_rand_test() local 132 TIMING_NOW (stop); in do_one_rand_test() 134 TIMING_DIFF (cur, start, stop); in do_one_rand_test() 214 timing_t start, stop, cur; in do_one_test() local 229 TIMING_NOW (stop); in do_one_test() 231 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-malloc-thread.c | 161 timing_t start, stop; in benchmark_thread() local 165 TIMING_NOW (stop); in benchmark_thread() 167 TIMING_DIFF (args->elapsed, start, stop); in benchmark_thread() 180 timing_t start, stop; in do_benchmark() local 187 TIMING_NOW (stop); in do_benchmark() 189 TIMING_DIFF (elapsed, start, stop); in do_benchmark()
|
D | bench-strtod.c | 96 timing_t start, stop, cur; in do_bench() local 102 TIMING_NOW (stop); in do_bench() 104 TIMING_DIFF (cur, start, stop); in do_bench()
|
D | bench-memset-large.c | 39 timing_t start, stop, cur; in do_one_test() local 46 TIMING_NOW (stop); in do_one_test() 48 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-memcpy-walk.c | 51 timing_t start, stop, cur; in do_one_test() local 60 TIMING_NOW (stop); in do_one_test() 62 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-bzero-walk.c | 58 timing_t start, stop, cur; in do_one_test() local 67 TIMING_NOW (stop); in do_one_test() 69 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-bzero-large.c | 56 timing_t start, stop, cur; in do_one_test() local 67 TIMING_NOW (stop); in do_one_test() 69 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-memmove-large.c | 37 timing_t start, stop, cur; in do_one_test() local 44 TIMING_NOW (stop); in do_one_test() 46 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-memset-walk.c | 39 timing_t start, stop, cur; in do_one_test() local 44 TIMING_NOW (stop); in do_one_test() 46 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-bzero.c | 55 timing_t start, stop, cur; in do_one_test() local 66 TIMING_NOW (stop); in do_one_test() 68 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-memmove-walk.c | 55 timing_t start, stop, cur; in do_one_test() local 64 TIMING_NOW (stop); in do_one_test() 66 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-memcpy-large.c | 40 timing_t start, stop, cur; in do_one_test() local 47 TIMING_NOW (stop); in do_one_test() 49 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-memccpy.c | 45 timing_t start, stop, cur; in do_one_test() local 52 TIMING_NOW (stop); in do_one_test() 54 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-rawmemchr.c | 45 timing_t start, stop, cur; in do_one_test() local 60 TIMING_NOW (stop); in do_one_test() 62 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-strlen.c | 52 timing_t start, stop, cur; in do_one_test() local 67 TIMING_NOW (stop); in do_one_test() 69 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-memset.c | 47 timing_t start, stop, cur; in do_one_test() local 54 TIMING_NOW (stop); in do_one_test() 56 TIMING_DIFF (cur, start, stop); in do_one_test()
|
D | bench-malloc-simple.c | 48 timing_t start, stop; in do_benchmark() local 64 TIMING_NOW (stop); in do_benchmark() 66 TIMING_DIFF (args->elapsed, start, stop); in do_benchmark()
|
D | bench-strcat.c | 55 timing_t start, stop, cur; in do_one_test() local 79 TIMING_NOW (stop); in do_one_test() 81 TIMING_DIFF (cur, start, stop); in do_one_test()
|
/glibc-2.36/posix/ |
D | tst-regex2.c | 121 struct timespec start, stop; in do_test() local 221 use_clock = clock_gettime (cl, &stop) == 0; in do_test() 224 stop.tv_sec -= start.tv_sec; in do_test() 225 if (stop.tv_nsec < start.tv_nsec) in do_test() 227 stop.tv_sec--; in do_test() 228 stop.tv_nsec += 1000000000 - start.tv_nsec; in do_test() 231 stop.tv_nsec -= start.tv_nsec; in do_test() 232 printf (": %ld.%09lds\n", (long) stop.tv_sec, (long) stop.tv_nsec); in do_test()
|
D | regex.c | 49 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument 50 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 58 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ argument 59 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
|
/glibc-2.36/time/ |
D | clocktest.c | 20 clock_t start, stop; in main() local 30 stop = clock (); in main() 33 (intmax_t) (stop - start), (intmax_t) start, (intmax_t) stop); in main()
|
/glibc-2.36/sysdeps/pthread/ |
D | tst-rwlock16.c | 38 static sem_t stop; variable 58 sem_getvalue (&stop, &s); in writer() 77 sem_getvalue (&stop, &s); in reader_producer() 154 sem_post (&stop); in do_test()
|