Home
last modified time | relevance | path

Searched refs:total_cpus (Results 1 – 8 of 8) sorted by relevance

/xnu-12377.41.6/tests/sched/sched_test_harness/
H A Dsched_clutch_harness_impl.c24 .total_cpus = 0,
37 return (unsigned int)curr_hw_topo.total_cpus; in ml_get_cpu_count()
98 .total_cpus = 1,
133 int total_cpus = 0; in clutch_impl_init_topology() local
135 assert((total_cpus + hw_topology.psets[i].num_cpus) <= MAX_CPUS); in clutch_impl_init_topology()
143 psets[i]->cpu_set_low = total_cpus; in clutch_impl_init_topology()
154 for (int c = total_cpus; c < total_cpus + hw_topology.psets[i].num_cpus; c++) { in clutch_impl_init_topology()
174 total_cpus += hw_topology.psets[i].num_cpus; in clutch_impl_init_topology()
176 processor_avail_count = total_cpus; in clutch_impl_init_topology()
H A Dsched_migration_harness.h28 int total_cpus; member
H A Dsched_edge_harness.c87 .total_cpus = 6,
131 .total_cpus = 20,
163 mock_topology_info.num_cpus = curr_hw_topo.total_cpus; in edge_impl_init_runqueues()
H A Dsched_migration_harness.c18 assert(hw_topology.num_psets > 0 && hw_topology.total_cpus > 0); in init_migration_harness()
H A Dsched_runqueue_harness.c87 T_QUIET; T_ASSERT_LT(cpu_id, topo.total_cpus, "cpu id out of bounds"); in cpu_id_to_pset_id()
/xnu-12377.41.6/tests/sched/
H A Drt_migration.c89 test_thread_t earlier_threads[topo.total_cpus] = {};
90 for (int i = 0; i < topo.total_cpus; i++) {
141 for (int i = 0; i < topo.total_cpus; i++) {
248 for (int c = 0; c < topo.total_cpus; c++) {
286 for (int i = 0; i < get_hw_topology().total_cpus; i++) { in fill_all_cpus_with_realtime_threads()
366 for (int target_cpu = 0; target_cpu < topo.total_cpus; target_cpu++) {
368 for (int idle_cpu = 0; idle_cpu < topo.total_cpus; idle_cpu++) {
H A Dedge_migration.c285 for (int c = 0; c < topo.total_cpus; c++) {
330 for (int c = 0; c < topo.total_cpus; c++) {
410 for (int c = 0; c < topo.total_cpus; c++) {
424 for (int c = 0; c < topo.total_cpus; c++) {
/xnu-12377.41.6/osfmk/kern/
H A Dsched_clutch.c6008 uint32_t total_cpus = ml_get_cpu_count(); in sched_edge_qos_max_parallelism() local
6010 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? total_clusters : total_cpus; in sched_edge_qos_max_parallelism()