[Openmcl-devel] more precise timing values?

peter p2.edoc at gmail.com
Sat Oct 5 06:06:57 PDT 2013


At 3:12 PM +0400 13/10/5, Stas Boukarev wrote:
>Florian Dietz <Florian.Dietz2 at gmx.de> writes:
>
>>  Is it possible to get more precise timing values than with
>>  (get-internal-real-time), which only gives milliseconds?
>There's unexported ccl::gettimeofday:
>
>(rlet ((tv :timeval))
>   (ccl::gettimeofday tv)
>   (values (pref tv :timeval.tv_sec)
>           (pref tv :timeval.tv_usec)))

and current-time-in-nanoseconds



More information about the Openmcl-devel mailing list