Subject: Re: get_cycles()

From: Kevin Diggs <[email-masked]>
Date: Sat, 26 Apr 2008 19:39:07 -0700

David Miller wrote:
> From: Kevin Diggs <[email-masked]>
> 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 cool ... but I don't want to create a dependency on
hrtimer.

So ... How expensive would it be to export ppc_tb_freq? Or add a
get_cycles_tb() function?

kevin