[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: get_cycles()



David Miller wrote:
From: Kevin Diggs <kevdig@hypersurf.com>
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


Reply to: