Home
last modified time | relevance | path

Searched refs:g_pstate_info (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c442 (double)(g_pstate_info[i].total_time/ in pt_display_states()
451 (long)g_pstate_info[i].speed, in pt_display_states()
452 100 * (g_pstate_info[i].total_time/ in pt_display_states()
463 p0_speed = g_pstate_info[g_npstates - 1].speed; in pt_display_states()
464 p1_speed = g_pstate_info[g_npstates - 2].speed; in pt_display_states()
503 100 * (g_pstate_info[i].total_time/ in pt_display_states()
507 (long)g_pstate_info[i].speed, in pt_display_states()
508 100 * (g_pstate_info[i].total_time/ in pt_display_states()
515 (long)g_pstate_info[0].speed, 100.0); in pt_display_states()
H A Dcpufreq.c178 state = g_pstate_info; in pt_cpufreq_stat_prepare()
302 g_pstate_info[i].total_time = 0; in pt_cpufreq_stat_collect()
360 if (g_pstate_info[i].speed == speed) { in pt_cpufreq_stat_account()
361 g_pstate_info[i].total_time += duration; in pt_cpufreq_stat_account()
479 if (g_pstate_info[i].speed == speed) { in pt_cpufreq_dtrace_walk()
492 g_pstate_info[i].total_time += res; in pt_cpufreq_dtrace_walk()
H A Dpowertop.h199 extern freq_state_info_t g_pstate_info[NSTATES];
H A Dpowertop.c72 freq_state_info_t g_pstate_info[NSTATES]; variable