Searched refs:proc_stat_buf (Results 1 – 1 of 1) sorted by relevance
71 static char *proc_stat_buf = NULL; variable82 proc_stat_buf); in cpu_util_init()93 if (!proc_stat_buf) { in cpu_util_init()104 proc_stat_buf = (char *)malloc (proc_stat_buflen); in cpu_util_init()105 if (!proc_stat_buf) { in cpu_util_init()118 free(proc_stat_buf); in cpu_util_terminate()119 proc_stat_buf = NULL; in cpu_util_terminate()140 if (!proc_stat_buf) { in calibrate_idle_rate()151 proc_stat_buf = (char *)malloc (proc_stat_buflen); in calibrate_idle_rate()152 if (!proc_stat_buf) { in calibrate_idle_rate()[all …]