Searched refs:cpu_count (Results 1 – 6 of 6) sorted by relevance
431 if ((sysinfo.cpu_count == 0) && in prusage()433 sysinfo.cpu_count = 1; in prusage()434 i = (ms == 0) ? 0 : (t * 1000.0 / (ms * sysinfo.cpu_count)); in prusage()
138 result[2] = sysinfo.cpu_count + '0';145 result[3] = sysinfo.cpu_count + '0';152 result[3] = sysinfo.cpu_count + '0';159 result[3] = sysinfo.cpu_count + '0';
63 int cpu_count; member
1233 KASSERT(CPU_EMPTY(&node->cpuset) && node->cpu_count == 0, in topo_set_pu_id()1237 node->cpu_count = 1; in topo_set_pu_id()1244 node->cpu_count++; in topo_set_pu_id()
833 cg_root->cg_count = root->cpu_count; in x86topo_add_sched_group()861 root->cpu_count > 1 && ncores < 2) in x86topo_add_sched_group()896 if (nchildren == root->cpu_count) in x86topo_add_sched_group()
564 int cpu_count, err; in axgbe_set_counts() local593 len = sizeof(cpu_count); in axgbe_set_counts()594 err = kernel_sysctlbyname(curthread, "hw.ncpu", &cpu_count, &len, NULL, in axgbe_set_counts()598 cpu_count = 1; in axgbe_set_counts()606 DBGPR("ncpu %d intrcpu %d\n", cpu_count, CPU_COUNT(&lcpus)); in axgbe_set_counts()