From: Mike Mowbray <mikem@ot.com.au>
Subject: Tru64 equivalent of gethrtime() on Solaris?
Date: Fri, 08 Feb 2002 18:36:31 +1100 [thread overview]
Message-ID: <3C637FFF.38B779FB@ot.com.au> (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.
reply other threads:[~2002-02-08 7:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox