[M3devel] FW: clock_getres / Time.Grain.
Jay K
jay.krell at cornell.edu
Wed Aug 18 09:53:12 CEST 2010
Well, it seems clock_getres is either not available (Darwin) or varies
much from the historical code (Linux, Solaris).
So this is only for OSF/1 now.
- Jay
From: jay.krell at cornell.edu
To: m3devel at elegosoft.com
Date: Wed, 18 Aug 2010 01:19:48 +0000
Subject: [M3devel] FW: clock_getres / Time.Grain.
This needs a review. Folks need to read Posix, the Modula-3 *.i3 files, possibly the OS man pages.
Possibly run the two versions and compare.
Possibly only #ifdef it in when the compare similar, e.g. on OSF and leave the rest alone.
Possibly only use the timeofday timer and not the highres timer.
Thanks,
- Jay
> Date: Tue, 17 Aug 2010 23:35:38 +0000
> To: m3commit at elegosoft.com
> From: jkrell at elego.de
> Subject: [M3commit] CVS Update: cm3
>
> CVSROOT: /usr/cvs
> Changes by: jkrell at birch. 10/08/17 23:35:37
>
> Modified files:
> cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c
>
> Log message:
> Let's try clock_getres if it is available.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100818/82ff1c2c/attachment-0002.html>
More information about the M3devel
mailing list