Lines Matching refs:timerstat_window
42 static WINDOW *timerstat_window; variable
72 if (timerstat_window) { in zap_windows()
73 delwin(timerstat_window); in zap_windows()
74 timerstat_window = NULL; in zap_windows()
102 timerstat_window = subwin(stdscr, maxy-16, maxx, 12, 0); in setup_windows()
277 werase(timerstat_window); in show_timerstats()
281 print(timerstat_window, 0, 0, _("Top causes for wakeups:\n")); in show_timerstats()
285 wattron(timerstat_window, A_BOLD); in show_timerstats()
287 wattroff(timerstat_window, A_BOLD); in show_timerstats()
289 …print(timerstat_window, i+1, 0," %5.1f%% (%5.1f) [%6s] %s \n", lines[i].count * 100.0 / linectot… in show_timerstats()
293 print(timerstat_window, i+1, 0," %5.1f%% (%5.1f) %s \n", lines[i].count * 100.0 / linectotal, in show_timerstats()
299 …print(timerstat_window, 0, 0, _("No detailed statistics available; please enable the CONFIG_TIMER_… in show_timerstats()
300 …print(timerstat_window, 1, 0, _("This option is located in the Kernel Debugging section of menucon… in show_timerstats()
301 print(timerstat_window, 2, 0, _("(which is CONFIG_DEBUG_KERNEL=y in the config file)\n")); in show_timerstats()
302 print(timerstat_window, 3, 0, _("Note: this is only available in 2.6.21 and later kernels\n")); in show_timerstats()
304 …print(timerstat_window, 0, 0, _("No detailed statistics available; PowerTOP needs root privileges … in show_timerstats()
308 wrefresh(timerstat_window); in show_timerstats()