Lines Matching refs:THREADS
144 enum { TRIALS = 25000000, THREADS = 256 }; enumerator
202 pthread_t threads[THREADS]; in bench_multi()
205 for (size_t i = 0; i < THREADS; ++i) in bench_multi()
207 for (size_t i = 0; i < THREADS; ++i) in bench_multi()
211 …printf(" vdso: %u x %u times in %lu.%09lu seconds\n", TRIALS, THREADS, diff.tv_sec, diff.tv_nsec… in bench_multi()
214 for (size_t i = 0; i < THREADS; ++i) in bench_multi()
216 for (size_t i = 0; i < THREADS; ++i) in bench_multi()
220 …printf(" libc: %u x %u times in %lu.%09lu seconds\n", TRIALS, THREADS, diff.tv_sec, diff.tv_nsec… in bench_multi()
223 for (size_t i = 0; i < THREADS; ++i) in bench_multi()
225 for (size_t i = 0; i < THREADS; ++i) in bench_multi()
229 …printf(" syscall: %u x %u times in %lu.%09lu seconds\n", TRIALS, THREADS, diff.tv_sec, diff.tv_n… in bench_multi()