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 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

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to