microseconds not nano

This commit is contained in:
Jon Rafkind 2010-11-11 15:44:25 -07:00
parent 635ba4537e
commit 86d7fd5d0c

View File

@ -80,16 +80,15 @@ time.}
@defproc[(current-inexact-milliseconds) real?]{ @defproc[(current-inexact-milliseconds) real?]{
Returns the current time in milliseconds since midnight UTC, January Returns the current time in milliseconds since midnight UTC, January
1, 1970. The fractional part counts nanoseconds. 1, 1970. The result may contain fractions of a millisecond.
Example @examples[(eval:alts
@racketblock[
(current-inexact-milliseconds) (current-inexact-milliseconds)
1289513737015.418 1289513737015.418
] )]
In this example @racket[1289513737015] is in milliseconds and @racket[418] In this example @racket[1289513737015] is in milliseconds and @racket[418]
is in nanoseconds.} is in microseconds.}
@defproc[(current-process-milliseconds [thread (or/c thread? #f)]) @defproc[(current-process-milliseconds [thread (or/c thread? #f)])