[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] feature request
From: |
Taylor R Campbell |
Subject: |
Re: [MIT-Scheme-devel] feature request |
Date: |
Tue, 16 Sep 2008 15:09:09 -0400 |
User-agent: |
IMAIL/1.21; Edwin/3.116; MIT-Scheme/7.7.90.+ |
Date: Tue, 16 Sep 2008 18:45:12 +0000
From: "naruto canada" <address@hidden>
On 9/16/08, naruto canada <address@hidden> wrote:
> On 9/16/08, naruto canada <address@hidden> wrote:
>> On 9/16/08, Taylor R Campbell <address@hidden> wrote:
>>> What does %N mean? It's not a standard strftime(3) format.
>
> It means nansecond.
typo, nanoseconds.
Thanks. There is currently support in MIT Scheme for nanosecond-
resolution clocks; the best you get is microsecond resolution from
gettimeofday(2) with the nullary REAL-TIME-CLOCK procedure, although
it yields a number relative to the start of the process. Adjusting
this to get a number of microseconds relative to some epoch is a
simple matter of programming, but since you wanted to combine it with
the number of seconds since the epoch anyway, this doesn't matter
much.