David Miller wrote:
This looks pretty cool ... but I don't want to create a dependency on hrtimer.From: Kevin Diggs <email@example.com> Date: Sat, 26 Apr 2008 00:54:11 -0700Anyone 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.
So ... How expensive would it be to export ppc_tb_freq? Or add a get_cycles_tb() function?