Searched refs:cpu_file (Results 1 – 1 of 1) sorted by relevance
94 FILE *cpu_file; in get_cpu_usages() local128 cpu_file = fopen(file_name, "r"); in get_cpu_usages()130 if (cpu_file == NULL) { in get_cpu_usages()135 } else if (1 != fscanf(cpu_file, "%d", &online)) { in get_cpu_usages()139 fclose(cpu_file); in get_cpu_usages()142 fclose(cpu_file); in get_cpu_usages()