Searched refs:nfutexes (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A D | futex-hash.c | 36 static unsigned int nfutexes = 1024; variable 56 OPT_UINTEGER('f', "futexes", &nfutexes, "Specify amount of futexes per threads"), 82 for (i = 0; i < nfutexes; i++, ops++) { in workerfn() 156 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash() 168 worker[i].futex = calloc(nfutexes, sizeof(*worker[i].futex)); in bench_futex_hash() 212 if (nfutexes == 1) in bench_futex_hash() 218 &worker[i].futex[nfutexes-1], t); in bench_futex_hash()
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | futex-hash.c | 51 .nfutexes = 1024, 58 OPT_UINTEGER('f', "futexes", ¶ms.nfutexes, "Specify amount of futexes per threads"), 85 for (i = 0; i < params.nfutexes; i++, ops++) { in workerfn() 166 getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime); in bench_futex_hash() 184 worker[i].futex = calloc(params.nfutexes, sizeof(*worker[i].futex)); in bench_futex_hash() 232 if (params.nfutexes == 1) in bench_futex_hash() 238 &worker[i].futex[params.nfutexes-1], t); in bench_futex_hash()
|
H A D | futex.h | 25 unsigned int nfutexes; member
|
Completed in 2 milliseconds