* Tru64 equivalent of gethrtime() on Solaris?
@ 2002-02-08 7:36 Mike Mowbray
0 siblings, 0 replies; only message in thread
From: Mike Mowbray @ 2002-02-08 7:36 UTC (permalink / raw)
Not sure whether this is the right newsgroup to ask this.
Apologies if it's not.
I'm trying to find out whether Tru64 has some equivalent
of Solaris' gethrtime() function.
The gethrtime() fn returns a number of nanosecs relative
to some arbitrary point in the past (not necessarily the
Epoch) and (most importantly for me) is guaranteed to be
always monotonic-increasing. I.e: it never jumps backwards
even if the system time is unexpectedly stepped backwards
by ntpd or a sysadmin.
I've been using clock_gettime(CLOCK_REALTIME,...)
but I know that CLOCK_REALTIME does not meet the above
requirements so I've got to find something better.
I'm using "OSF1 V4.0 878 alpha", in case that makes a
difference.
Any suggestions?
TIA.
- MikeM.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-02-08 7:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-08 7:36 Tru64 equivalent of gethrtime() on Solaris? Mike Mowbray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox