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

/illumos-gate/usr/src/cmd/powertop/common/
H A Dturbo.c56 static turbo_info_t *cpu_turbo_info = NULL; variable
99 cpu_turbo_info = calloc((size_t)g_ncpus, sizeof (turbo_info_t));
184 if ((ret = pt_turbo_snapshot(cpu_turbo_info)) != 0)
216 delta_mcnt = t_new[cpu].t_mcnt - cpu_turbo_info[cpu].t_mcnt;
217 delta_acnt = t_new[cpu].t_acnt - cpu_turbo_info[cpu].t_acnt;
231 (void) memcpy(cpu_turbo_info, t_new, g_ncpus * (sizeof (turbo_info_t)));

Completed in 43 milliseconds