Re: timing in driver function

2011-08-05 Thread Michael Jones
Hi Paul, On 08/02/2011 03:41 AM, Paul Walmsley wrote: > > Hi, > > On Mon, 1 Aug 2011, Michael Jones wrote: > >> I have a function in a driver which takes ~50ms to execute, which I've >> measured by reading jiffies at the beginning and end. But jiffies only >> counts at 128Hz on my system, so th

Re: timing in driver function

2011-08-01 Thread Paul Walmsley
Hi, On Mon, 1 Aug 2011, Michael Jones wrote: > I have a function in a driver which takes ~50ms to execute, which I've > measured by reading jiffies at the beginning and end. But jiffies only > counts at 128Hz on my system, so this was a very coarse measurement. Now > I would like to find out more

Re: timing in driver function

2011-08-01 Thread C.A, Subramaniam
On Mon, Aug 1, 2011 at 10:34 AM, Gadiyar, Anand wrote: > Michael Jones wrote: >> I have a function in a driver which takes ~50ms to execute, which I've >> measured by reading jiffies at the beginning and end. But jiffies only >> counts at 128Hz on my system, so this was a very coarse measurement.

RE: timing in driver function

2011-08-01 Thread Gadiyar, Anand
Michael Jones wrote: > I have a function in a driver which takes ~50ms to execute, which I've > measured by reading jiffies at the beginning and end. But jiffies only > counts at 128Hz on my system, so this was a very coarse measurement. Now > I would like to find out more exactly where the time is