>-----Original Message-----
>From: Arjan van de Ven [mailto:[email protected]]
>Sent: Friday, May 06, 2011 6:03 PM
>To: Mathew, JohnX
>Cc: [email protected]
>Subject: Re: [PATCH] Add MSIC power meter
>
>
>
>> diff --git a/parameters/parameters.cpp b/parameters/parameters.cpp
>> index 59161d9..f9dd283 100644
>> --- a/parameters/parameters.cpp
>> +++ b/parameters/parameters.cpp
>> @@ -427,9 +427,10 @@ int utilization_power_valid(int index)
>>    */
>>   int global_power_valid(void)
>>   {
>> -    if (past_results.size()>  3 * all_parameters.parameters.size())
>> +    //Medfield has 56 parameters, which means this will take a while
>to be true
>> +    //if (past_results.size()>  3 * all_parameters.parameters.size())
>>              return 1;
>
>uhm..... ?
>
>
This was a hack to see the power estimates in the powertop.html during initial 
runs. Medfield has 56 parameters. Which means I would have to run powertop 3 * 
56 times to see the power estimates in powertop.html for Medfield, as each run 
increments the past_results.size() by 1. Is there a way to make it less?

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


_______________________________________________
Power mailing list
[email protected]
https://bughost.org/mailman/listinfo/power

Reply via email to