comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: real_time.clock is not monotonic
Date: Thu, 22 Feb 2007 10:34:37 +0000
Date: 2007-02-22T10:34:37+00:00	[thread overview]
Message-ID: <m2lkiqmqf6.fsf@mac.com> (raw)
In-Reply-To: mailman.105.1172137858.18371.comp.lang.ada@ada-france.org

Duncan Sands <baldrick@free.fr> writes:

>>         ("rdtsc" & ASCII.LF & ASCII.HT &
>
> I think the user needs to have appropriate permissions
> for this to work.  In any case, the linux kernel time
> support is getting a massive rework as we speak, so
> hopefully everything will be perfect soon :)

Works for ordinary users on Windows (certainly up to 2K) and on all
the Linuxes I've tried it on (up to Ubunto DD).

Much better of course to use OS facilities.

But my primary interest was for a high resolution clock (1e-5 seconds
or better), the monotonicity was incidental.

I see that on Windows we have that already, lucky for those of us who
have Windows as their development and target platform.

On SPARC Solaris, there certainly are permission issues wrt the
equivalent feature. I haven't tried rtdsc on x86 Solaris.



  reply	other threads:[~2007-02-22 10:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 16:16 real_time.clock is not monotonic frederic.ormancey
2007-02-21 19:46 ` Georg Bauhaus
2007-02-21 20:33   ` Michael Bode
2007-02-21 20:17 ` Simon Wright
2007-02-22  9:50   ` Duncan Sands
2007-02-22 10:34     ` Simon Wright [this message]
2007-02-22 10:53       ` Duncan Sands
2007-02-22 20:48         ` Simon Wright
2007-02-26  8:50   ` Florian Weimer
2007-02-26 20:59     ` Simon Wright
2007-02-22  2:05 ` Adam Beneschan
2007-02-22  2:34   ` Randy Brukardt
2007-02-22  3:19     ` Adam Beneschan
2007-02-22 11:04     ` [OT] Broken threading (was RE: real_time.clock is not monotonic) Alex R. Mosteo
2007-02-22 11:39       ` Georg Bauhaus
2007-02-22 14:52         ` Alex R. Mosteo
2007-02-23  0:43       ` Randy Brukardt
2007-02-23 10:11         ` Alex R. Mosteo
2007-02-25  0:39           ` [OT] Broken threading Björn Persson
2007-02-26  8:50             ` Alex R. Mosteo
2007-02-27  0:13             ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox