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:
Corinna Vinschen 2015-08-17 10:04:33 +02:00
parent b5f56ec286
commit 861a27db66
2 changed files with 9 additions and 0 deletions

View File

@ -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>
* fhandler.cc (fhandler_base_overlapped::raw_write): When performing

View File

@ -1256,6 +1256,10 @@ format_proc_cpuinfo (void *, char *&destbuf)
print (" 100mhzsteps");
if (features1 & (1 << 7))
print (" hwpstate");
if (features1 & (1 << 9))
print (" cpb");
if (features1 & (1 << 10))
print (" eff_freq_ro");
}
if (orig_affinity_mask != 0)