From: Peter Dinda Date: Sun, 31 Aug 2014 22:00:07 +0000 (-0500) Subject: P-State more detailed hw info from ACPI X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=a2cc73f21721d319aa8696ec64bb5822765c6011 P-State more detailed hw info from ACPI --- diff --git a/linux_module/iface-pstate-ctrl.c b/linux_module/iface-pstate-ctrl.c index 1559679..2864ea0 100644 --- a/linux_module/iface-pstate-ctrl.c +++ b/linux_module/iface-pstate-ctrl.c @@ -1686,7 +1686,7 @@ static int pstate_hw_show(struct seq_file * file, void * v) } - seq_printf(file,"\nPstate\tCtrl\tKHz\n"); + seq_printf(file,"\nPstate\tCtrl\tKHz\tmW\tuS(X)\tuS(B)\n"); numstates = get_cpu_var(processors)->performance->state_count; if (!numstates) { seq_printf(file,"UNKNOWN\n"); @@ -1694,10 +1694,13 @@ static int pstate_hw_show(struct seq_file * file, void * v) int i; for (i=0;iperformance->states[i].control, - get_cpu_var(processors)->performance->states[i].core_frequency*1000); + get_cpu_var(processors)->performance->states[i].core_frequency*1000, + get_cpu_var(processors)->performance->states[i].power, + get_cpu_var(processors)->performance->states[i].transition_latency, + get_cpu_var(processors)->performance->states[i].bus_master_latency); } } put_cpu_var(processors);