Lines Matching refs:state
3 * turbostat -- show CPU frequency and C-state residency
2492 fprintf(outf, ", automatic c-state conversion=%s",
3308 * Some sources state that the peak power for a
3822 int state;
3834 for (state = 0; state < 10; ++state) {
3836 sprintf(path, "/sys/devices/system/cpu/cpu%d/cpuidle/state%d/name",
3837 base_cpu, state);
3853 sprintf(path, "/sys/devices/system/cpu/cpu%d/cpuidle/state%d/desc",
3854 base_cpu, state);
5909 int state;
5915 for (state = 10; state >= 0; --state) {
5917 sprintf(path, "/sys/devices/system/cpu/cpu%d/cpuidle/state%d/name",
5918 base_cpu, state);
5936 sprintf(path, "cpuidle/state%d/time", state);
5945 for (state = 10; state >= 0; --state) {
5947 sprintf(path, "/sys/devices/system/cpu/cpu%d/cpuidle/state%d/name",
5948 base_cpu, state);
5963 sprintf(path, "cpuidle/state%d/usage", state);