From: melennec@cena.dgac.fr (Ronan MELENNEC)
Subject: clock_gettime() vs. getclock() vs. __getclock()
Date: 1995/10/30 [thread overview]
Message-ID: <4735dr$gg7@donald.cenaath.cena.dgac.fr> (raw)
Hello,
I am in the process of porting some Pthreads code to Digital UNIX (OSF/1 3.0).
The POSIX.1b clock_gettime() function (to retrieve UTC time with
a fractional part in nanoseconds) is referenced in the man pages,
but appears to be missing from the C libraries (either libc or libc_r).
In the meantime, I am using getclock().
There also exists a __getclock() function, which has no man page.
Is it a faster version of getclock() ?
What do you suggest to replace clock_gettime(), apart from using getclock()
(I'd prefer the application sources to stay portable) ?
Does it (clock_gettime()) already appear in a library I am not aware of ?
Cordially,
--
Ronan Melennec | Centre d'Etudes de la Navigation Aerienne
<melennec@cena.dgac.fr> | Division Support Systeme
+33 1 69 57 70 96 | Orly Sud 205 -- 94542 ORLY AEROGARE CEDEX
reply other threads:[~1995-10-30 5:00 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