Re: get_cycles()

2008-04-27 Thread Tony Breeds
On Sun, Apr 27, 2008 at 03:35:54AM -0700, Kevin Diggs wrote: > I'm working on a cpufreq driver for the 750GX so I don't think I have to > worry about being to platform specific. > > Would a compile time configuration be a good idea (hrtimer or > get_cycles() assisted timing)? Save yourself the

Re: get_cycles()

2008-04-27 Thread Kevin Diggs
David Miller wrote: From: Kevin Diggs <[EMAIL PROTECTED]> Date: Sat, 26 Apr 2008 19:39:07 -0700 This looks pretty cool ... but I don't want to create a dependency on hrtimer. It doesn't create such a dependency. We use it unconditionally in the generic networking. Please don't use platfor

Re: get_cycles()

2008-04-26 Thread David Miller
From: Kevin Diggs <[EMAIL PROTECTED]> Date: Sat, 26 Apr 2008 19:39:07 -0700 > This looks pretty cool ... but I don't want to create a dependency on > hrtimer. It doesn't create such a dependency. We use it unconditionally in the generic networking. Please don't use platform specific interfaces

Re: get_cycles()

2008-04-26 Thread Kevin Diggs
David Miller wrote: From: Kevin Diggs <[EMAIL PROTECTED]> Date: Sat, 26 Apr 2008 00:54:11 -0700 Anyone know how to turn get_cycles() into an actual time in a module? ppc_tb_freq does not seem to be exported? You should really be using ktime_t and associated interfaces. This looks pretty

Re: get_cycles()

2008-04-26 Thread David Miller
From: Kevin Diggs <[EMAIL PROTECTED]> Date: Sat, 26 Apr 2008 00:54:11 -0700 > Anyone know how to turn get_cycles() into an actual time in a module? > ppc_tb_freq does not seem to be exported? You should really be using ktime_t and associated interfaces. ___