Searched refs:g_ncpus (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/powertop/common/
H A Dturbo.c99 cpu_turbo_info = calloc((size_t)g_ncpus, sizeof (turbo_info_t));
100 t_new = calloc((size_t)g_ncpus, sizeof (turbo_info_t));
123 for (cpu = 0; cpu < g_ncpus; cpu++) {
215 for (cpu = 0; cpu < g_ncpus; cpu++) {
226 g_turbo_ratio = g_turbo_ratio / (double)g_ncpus;
231 (void) memcpy(cpu_turbo_info, t_new, g_ncpus * (sizeof (turbo_info_t)));
H A Dcpuidle.c237 for (i = 0; i < g_ncpus; i++) {
246 for (i = 0; i < g_ncpus; i++) {
H A Dpowertop.c58 uint_t g_ncpus; variable
115 * Enumerate the system's CPUs, populate cpu_table, g_ncpus
117 if ((g_ncpus = g_ncpus_observed = pt_enumerate_cpus()) == 0)
190 if (g_observed_cpu >= g_ncpus) {
402 /g_ncpus)/g_cstate_info[g_longest_cstate].events);
H A Dpowertop.h202 extern uint_t g_ncpus;
H A Dcpufreq.c179 if ((g_cpu_power_states = calloc((size_t)g_ncpus,
304 for (i = 0; i < g_ncpus; i++)
H A Devents.c213 for (i = 0; i < g_ncpus; i++) {

Completed in 56 milliseconds