From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ffb9d95d96bff3d5,start X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,ffb9d95d96bff3d5,start X-Google-Attributes: gidf678f,public From: balay@maverick.mcs.anl.gov (Satish Balay) Subject: Timer routines on Dec Alpha Date: 1996/10/18 Message-ID: <84565424520771@maverick.mcs.anl.gov>#1/1 X-Deja-AN: 190508397 distribution: world organization: Argonne National Laboratory, Chicago, Illinois newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc 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