Support cpb and eff_freq_ro power mgmt flags in /proc/cpuinfo
* fhandler_proc.cc (format_proc_cpuinfo): Print cpb and eff_freq_ro power management flags. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
b5f56ec286
commit
861a27db66
|
@ -1,3 +1,8 @@
|
||||||
|
2015-08-17 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_proc.cc (format_proc_cpuinfo): Print cpb and eff_freq_ro
|
||||||
|
power management flags.
|
||||||
|
|
||||||
2015-08-15 Corinna Vinschen <corinna@vinschen.de>
|
2015-08-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base_overlapped::raw_write): When performing
|
* fhandler.cc (fhandler_base_overlapped::raw_write): When performing
|
||||||
|
|
|
@ -1256,6 +1256,10 @@ format_proc_cpuinfo (void *, char *&destbuf)
|
||||||
print (" 100mhzsteps");
|
print (" 100mhzsteps");
|
||||||
if (features1 & (1 << 7))
|
if (features1 & (1 << 7))
|
||||||
print (" hwpstate");
|
print (" hwpstate");
|
||||||
|
if (features1 & (1 << 9))
|
||||||
|
print (" cpb");
|
||||||
|
if (features1 & (1 << 10))
|
||||||
|
print (" eff_freq_ro");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (orig_affinity_mask != 0)
|
if (orig_affinity_mask != 0)
|
||||||
|
|
Loading…
Reference in New Issue