Hi,

There is no any delay in original code, if GPS chip can't provide data so fast, 
it will output useless filler, read process filter out filler and continue read 
again until enough data received, that is bad. So better performance I mean 
here is don't waste CPU time to do useless works.

Thanks
Allen

-----Original Message-----
From: Arjan van de Ven [mailto:ar...@linux.intel.com] 
Sent: Sunday, July 24, 2011 6:50 PM
To: Kao, Allen
Cc: meego-kernel@lists.meego.com
Subject: Re: [Meego-kernel] [PATCH ] Atheros ar1520 GPS: add pause between each 
read

On 7/24/2011 6:48 PM, Arjan van de Ven wrote:
> On 7/22/2011 5:09 PM, Kao, Allen wrote:
>>
>> From: Allen Kao <a...@qca.qualcomm.com>
>>
>> Date: Sat Jul 23 01:23:15 CST 2011
>>
>> Subject: Atheros ar1520 GPS: add pause between each read
>>
>> Add 5ms-15ms pause between each read process to make performance 
>> better
>>
>> This driver work on Acer M&M tablet for MeeGo, which is available on
>> I2C-0 port.
>>
>
> how does busy waiting for 5 - 15 msec help performance?
> It's busy waiting.. costing tons of power!

eh wait usleep not udelay... so it's not busy waiting.. but how does sleeping 
for this period help performance?


_______________________________________________
MeeGo-kernel mailing list
MeeGo-kernel@lists.meego.com
http://lists.meego.com/listinfo/meego-kernel

Reply via email to