Searched refs:g_cstate_info (Results 1 – 4 of 4) sorted by relevance
170 g_cstate_info[0].total_time = (uint64_t)S2NS(interval * in pt_cpuidle_stat_collect()191 if (g_cstate_info[i].total_time > 0) { in pt_cpuidle_stat_collect()192 g_total_c_time += g_cstate_info[i].total_time; in pt_cpuidle_stat_collect()195 if (g_cstate_info[i].last_time > t) { in pt_cpuidle_stat_collect()196 t = g_cstate_info[i].last_time; in pt_cpuidle_stat_collect()242 g_cstate_info[state].events += n; in pt_cpuidle_dtrace_walk()250 g_cstate_info[state].last_time = n; in pt_cpuidle_dtrace_walk()251 g_cstate_info[state].total_time += n; in pt_cpuidle_dtrace_walk()252 if (g_cstate_info[0].total_time >= n) in pt_cpuidle_dtrace_walk()253 g_cstate_info[0].total_time -= n; in pt_cpuidle_dtrace_walk()[all …]
71 state_info_t g_cstate_info[NSTATES]; variable303 (void) memset(g_cstate_info, 0, in main()398 g_cstate_info[g_longest_cstate].events > 0) { in main()400 g_cstate_info[g_longest_cstate].total_time/MICROSEC in main()401 /g_ncpus)/g_cstate_info[g_longest_cstate].events); in main()
409 res = (((double)g_cstate_info[0].total_time / g_total_c_time)) in pt_display_states()419 if (g_cstate_info[i].events > 0) in pt_display_states()420 avg = (((double)g_cstate_info[i].total_time/ in pt_display_states()421 MICROSEC)/g_cstate_info[i].events); in pt_display_states()425 res = ((double)g_cstate_info[i].total_time/ in pt_display_states()
198 extern state_info_t g_cstate_info[NSTATES];