Searched refs:nfutexes (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/tools/perf/bench/ |
D | futex-hash.c | 27 static unsigned int nfutexes = 1024; variable 47 OPT_UINTEGER('f', "futexes", &nfutexes, "Specify amount of futexes per threads"), 72 for (i = 0; i < nfutexes; i++, w->ops++) { in workerfn() 142 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash() 154 worker[i].futex = calloc(nfutexes, sizeof(*worker[i].futex)); in bench_futex_hash() 197 if (nfutexes == 1) in bench_futex_hash() 203 &worker[i].futex[nfutexes-1], t); in bench_futex_hash()
|