Lines Matching refs:g_cstate_info
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()
255 g_cstate_info[0].total_time = 0; in pt_cpuidle_dtrace_walk()