[Openmcl-devel] high res timer for CCL

Hans Hübner hans at huebner.org
Sun Dec 7 23:44:06 PST 2008


On Mon, Dec 8, 2008 at 08:07, Alexander Repenning <ralex at cs.colorado.edu> wrote:
> The only shame is that there would be an even better time function,
> good old upTime, with nanosecond resolution. Here is some code:
>
>[...]
>
> How would one translate this into CCL  code?

Not a direct translation, but maybe
http://trac.clozure.com/openmcl/browser/trunk/source/tools/advice-profiler/profiler.lisp#L99
is inspiring.  It uses Mach timers without syntactic sugar, but I
think that the interface is stable across MacOS releases.

-Hans



More information about the Openmcl-devel mailing list