Searched refs:nfutexes (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/tools/perf/bench/ |
D | futex-hash.c | 34 static unsigned int nfutexes = 1024; variable 54 OPT_UINTEGER('f', "futexes", &nfutexes, "Specify amount of futexes per threads"), 80 for (i = 0; i < nfutexes; i++, ops++) { in workerfn() 153 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash() 165 worker[i].futex = calloc(nfutexes, sizeof(*worker[i].futex)); in bench_futex_hash() 208 if (nfutexes == 1) in bench_futex_hash() 214 &worker[i].futex[nfutexes-1], t); in bench_futex_hash()
|