Is there an equivalent to Lisp's "runtime" primitive in Scheme?

Posted by Bill the Lizard on Stack Overflow See other posts from Stack Overflow or by Bill the Lizard
Published on 2010-02-03T20:16:08Z Indexed on 2010/06/08 2:12 UTC
Read the original article Hit count: 398

Filed under:
|
|
|
|

According to SICP section 1.2.6, exercise 1.22:

Most Lisp implementations include a primitive called runtime that returns an integer that specifies the amount of time the system has been running (measured, for example, in microseconds).

I'm using DrScheme, where runtime doesn't seem to be available, so I'm looking for a good substitute. I found in the PLT-Scheme Reference that there is a current-milliseconds primitive. Does anyone know if there's a timer in Scheme with better resolution?

© Stack Overflow or respective owner

Related posts about lisp

Related posts about Scheme