[Openmcl-devel] more precise timing values?

Stas Boukarev stassats at gmail.com
Sat Oct 5 04:12:51 PDT 2013


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

-- 
With best regards, Stas.



More information about the Openmcl-devel mailing list