Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Timer routines on Dec Alpha
@ 1996-10-18  4:00 Satish Balay
  1996-10-28  5:00 ` Vikas Sontakke
  0 siblings, 1 reply; 2+ messages in thread
From: Satish Balay @ 1996-10-18  4:00 UTC (permalink / raw)






What is a good clock/time routine on Dec Alpha running OSF1  V3.2 41?
I need wall-clock Time.


I tried gettimeofday(), getclock(), but the resolution is only in
milliseconds. getclock() claims that it reads from a hardware clock,
and has one of it's arguements in nano-sec. It is rediculus that it's
accuracy is in milli-seconds. (not even micro-seconds). I tried
using gettimer() but it always returns an error code....
Is it supporsed to work at all?

Any better/accurate timers available on this machine? 

Thanks

satish balay
balay@mcs.anl.gov



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Timer routines on Dec Alpha
  1996-10-18  4:00 Timer routines on Dec Alpha Satish Balay
@ 1996-10-28  5:00 ` Vikas Sontakke
  0 siblings, 0 replies; 2+ messages in thread
From: Vikas Sontakke @ 1996-10-28  5:00 UTC (permalink / raw)
  To: Satish Balay


Satish Balay wrote:
> 
> What is a good clock/time routine on Dec Alpha running OSF1  V3.2 41?
> I need wall-clock Time.
> 
> 
> Any better/accurate timers available on this machine?
> 
> Thanks
> 
> satish balay
> balay@mcs.anl.gov

V4.0 of Digital UNIX supports notion of microtime.  More information
on it is available in the "Realtime Programming Guide" which ships with
the V4.0 docset and is also available on the bookreader and possibly in
the HTML format

Realtime routines need librt to link against.

It involves rebuilding the kernel with option MICRO_TIME 
-- 
Vikas Sontakke	sontakke@zk3.dec.com DTN 381-0811  (603)881-0811
OEM Business Group (formerly known as E&RT), Nashua NH
_______________________________________________________________________________



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-28  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-18  4:00 Timer routines on Dec Alpha Satish Balay
1996-10-28  5:00 ` Vikas Sontakke

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