Home
last modified time | relevance | path

Searched refs:nfutexes (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/bench/
H A Dfutex-hash.c51 .nfutexes = 1024,
58 OPT_UINTEGER('f', "futexes", &params.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 Dfutex.h25 unsigned int nfutexes; member