Home
last modified time | relevance | path

Searched refs:first_cpu (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/tests/vm/
H A Dfault_throughput.lua68 benchmark:assert(benchmark.opt.first_cpu > -2, 'negative first CPU')
69 benchmark:assert(benchmark.opt.first_cpu < ncpus, 'invalid first CPU')
107 if benchmark.opt.first_cpu ~= -1 then
108 cmd[#cmd + 1] = benchmark.opt.first_cpu
H A Dfault_throughput.c126 uint32_t first_cpu; member
521 spawn_worker_threads(test_globals_t *globals, unsigned int num_threads, unsigned int first_cpu) in spawn_worker_threads() argument
534 faulting_thread_args[i].cpu_id = (i + first_cpu) % get_ncpu(); in spawn_worker_threads()
551 pthread_t *workers = spawn_worker_threads(globals, args->n_threads, args->first_cpu); in setup_test()
664 long first_cpu = strtol(argv[current_argument++], NULL, 10); in parse_arguments() local
665 assert(first_cpu >= 0 && first_cpu < get_ncpu()); in parse_arguments()
667 args->first_cpu = (unsigned int) first_cpu; in parse_arguments()
/xnu-11215/osfmk/arm64/
H A Dmachine_routines.c1478 unsigned int first_cpu = ml_get_first_cpu_id(cluster_id); in ml_get_die_id() local
1479 return topology_info.cpus[first_cpu].die_id; in ml_get_die_id()
1493 unsigned int first_cpu = ml_get_first_cpu_id(cluster_id); in ml_get_die_cluster_id() local
1494 return topology_info.cpus[first_cpu].die_cluster_id; in ml_get_die_cluster_id()