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

/illumos-gate/usr/src/cmd/powertop/common/
H A Dcpuidle.c156 * chalking up time spent into the g_cstate_info structure.
170 g_cstate_info[0].total_time = (uint64_t)S2NS(interval *
186 * Populate g_cstate_info with the correct amount of time spent
191 if (g_cstate_info[i].total_time > 0) {
192 g_total_c_time += g_cstate_info[i].total_time;
195 if (g_cstate_info[i].last_time > t) {
196 t = g_cstate_info[i].last_time;
242 g_cstate_info[state].events += n;
250 g_cstate_info[state].last_time = n;
251 g_cstate_info[stat
[all...]
H A Dpowertop.c71 state_info_t g_cstate_info[NSTATES]; variable
304 (void) memset(g_cstate_info, 0,
399 g_cstate_info[g_longest_cstate].events > 0) {
401 g_cstate_info[g_longest_cstate].total_time/MICROSEC
402 /g_ncpus)/g_cstate_info[g_longest_cstate].events);
H A Ddisplay.c409 res = (((double)g_cstate_info[0].total_time / g_total_c_time))
419 if (g_cstate_info[i].events > 0)
420 avg = (((double)g_cstate_info[i].total_time/
421 MICROSEC)/g_cstate_info[i].events);
425 res = ((double)g_cstate_info[i].total_time/
H A Dpowertop.h198 extern state_info_t g_cstate_info[NSTATES];

Completed in 432 milliseconds