Lines Matching defs:cpuinfo
76 i386_cpu_info_t *cpuinfo;
78 cpuinfo = cpuid_info();
79 return(cpuinfo->thread_count > cpuinfo->core_count);
115 i386_cpu_info_t *cpuinfo;
119 cpuinfo = cpuid_info();
136 nCPUsSharing = cpuinfo->cache_sharing[i];
151 topoParms.nCoresSharingLLC = nCPUsSharing / (cpuinfo->thread_count /
152 cpuinfo->core_count);
159 if (nCPUsSharing > cpuinfo->core_count)
160 topoParms.nCoresSharingLLC = cpuinfo->core_count;
161 if (nCPUsSharing > cpuinfo->thread_count)
162 topoParms.nLCPUsSharingLLC = cpuinfo->thread_count;
168 i386_cpu_info_t *cpuinfo;
172 cpuinfo = cpuid_info();
184 DIVISOR_GUARD(cpuinfo->core_count);
185 topoParms.nLThreadsPerCore = cpuinfo->thread_count / cpuinfo->core_count;
186 DIVISOR_GUARD(cpuinfo->cpuid_cores_per_package);
187 topoParms.nPThreadsPerCore = cpuinfo->cpuid_logical_per_package / cpuinfo->cpuid_cores_per_package;
193 topoParms.nLDiesPerPackage = cpuinfo->core_count / topoParms.nCoresSharingLLC;
196 topoParms.nPDiesPerPackage = cpuinfo->cpuid_cores_per_package / (topoParms.maxSharingLLC / topoParms.nPThreadsPerCore);