From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 104d8a,962e7e0b671c3db3,start X-Google-Attributes: gid104d8a,public X-Google-Thread: 1164f8,3669427b9cd4912e X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-06-10 07:11:04 PST Path: gmdzi!unido!mcsun!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!sousa!utrtsc.dec.com!pilmeyer From: pilmeyer@utrtsc.dec.com Newsgroups: comp.sys.dec Subject: Re: Clock interval on MIPS workstations Message-ID: <1292@sousa.ltn.dec.com> Date: 10 Jun 91 18:50:37 GMT Sender: newsa@sousa.ltn.dec.com Organization: Digital Equipment Corporation In article <1991Jun9.233056.12085@news.iastate.edu>, vancleef@iastate.edu (Van Cleef Henry H) writes... > >I am using the difference between two gettimeofday() calls to measure >real-time performance. What is the number of microseconds added each >time the clock ticks. > >This question applies to 2100, 3100, and 5000 MIPS DECstations running >Ultrix 4.*. On the MIPS based DECstations the clock runs at 256 Hz. Since this number doesn't divide evenly, every second the remainder is added (64 micro seconds). So each clock tick is 3906 microseconds, and each 256 ticks an extra 64 microseconds are added to avoid losing time. >From personal experience I know that this is not the best you could wish for if you are doing real-time measurements. An alternative would be to put a real-time clock module on the optional VME bus on the DECstation 5000. -Han