Searched refs:first_cpu (Results 1 – 2 of 2) sorted by relevance
59 assert(tonumber(benchmark.opt.first_cpu) < ncpus, "invalid first CPU")94 if benchmark.opt.first_cpu ~= -1 then95 args[#args + 1] = benchmark.opt.first_cpu
127 uint32_t first_cpu; member522 spawn_worker_threads(test_globals_t *globals, unsigned int num_threads, unsigned int first_cpu) in spawn_worker_threads() argument535 faulting_thread_args[i].cpu_id = (i + first_cpu) % get_ncpu(); in spawn_worker_threads()552 pthread_t *workers = spawn_worker_threads(globals, args->n_threads, args->first_cpu); in setup_test()665 long first_cpu = strtol(argv[current_argument++], NULL, 10); in parse_arguments() local666 assert(first_cpu >= 0 && first_cpu < get_ncpu()); in parse_arguments()668 args->first_cpu = (unsigned int) first_cpu; in parse_arguments()