From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f4bababbaf26eab9 X-Google-Attributes: gidfee84,public From: oscarl@*remove-this*ac.upc.es (Oscar Laborda) Subject: Re: Measuring time in OSF1 w/Alpha Date: 1999/12/01 Message-ID: <82311n$2fk$1@diable.upc.es>#1/1 X-Deja-AN: 555249624 Content-Transfer-Encoding: 8bit References: <8208a6$f8h$1@diable.upc.es> <821uss$di4@usenet.pa.dec.com> Organization: Universitat Politecnica de Catalunya Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Jeffrey Mogul wrote: > Provided that you are using a recent version of Digital UNIX > or Tru64 (any Y2K-compliant version, and some older ones), you > can obtain microsecond-granularity values from gettimeofday(). > See the FAQ: > http://www.UNIX.digital.com/unix/faq/programming.html#P9 > Note that this requires rebuilding the kernel (sorry, it wasn't > my decision!) > Also note that (depending on what CPU you are using, and various > other random variables) it might take longer than 1 uSec to > run gettimeofday(), so it's not necessarily accurate to 1 uSec. > This feature is also supposed to work properly on a multiprocessor. Thank you very much for the reply, Jeff. That sounds great for me. The machine is an AlphaServer 8400 with 12 Alpha 21264 at 525 MHz. It is runing Digital UNIX V4.0E (Rev. 1091) I think that it is a quite recent version of the OS. We will try it next week. Regards. -- Oscar Laborda E-mail: oscarl@*remove-this*ac.upc.es To reply by e-mail delete '*remove-this*' from the e-mail address