Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Clock interval on MIPS workstations
@ 1991-06-09 23:30 Van Cleef Henry H
  0 siblings, 0 replies; 5+ messages in thread
From: Van Cleef Henry H @ 1991-06-09 23:30 UTC (permalink / raw)


I originally posted this question on comp.unix.ultrix but have gotten no
responses.

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.*.  
-- 
Hank van Cleef  
vancleef@iastate.edu	Iowa State University, Ames. Ia.
tmn!vancleef		The Union Institute, Cincinnati, Oh.


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

* Re: Clock interval on MIPS workstations
  1991-06-10 18:50 Clock interval on MIPS workstations pilmeyer
@ 1991-06-10 11:56 ` Ted Lemon
  0 siblings, 0 replies; 5+ messages in thread
From: Ted Lemon @ 1991-06-10 11:56 UTC (permalink / raw)



>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.

Gack!   That sounds like *serious* overkill!   Why not just put one on
the TurboChannel?   The amount of electronics that you'd be adding to
your DS5000 to perform this simple little function is frightening to
contemplate...

			       _MelloN_


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

* Re: Clock interval on MIPS workstations
@ 1991-06-10 18:50 pilmeyer
  1991-06-10 11:56 ` Ted Lemon
  0 siblings, 1 reply; 5+ messages in thread
From: pilmeyer @ 1991-06-10 18:50 UTC (permalink / raw)



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


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

* Re: Clock interval on MIPS workstations
@ 1991-06-11 13:39 pilmeyer
  0 siblings, 0 replies; 5+ messages in thread
From: pilmeyer @ 1991-06-11 13:39 UTC (permalink / raw)



In article <MELLON.91Jun10135634@nigiri.pa.dec.com>, mellon@nigiri.pa.dec.com (Ted Lemon) writes...
> 
>Gack!   That sounds like *serious* overkill!   Why not just put one on
>the TurboChannel?   The amount of electronics that you'd be adding to
>your DS5000 to perform this simple little function is frightening to
>contemplate...

Yes, I agree. However there is one very good reason to go for a VME clock
module instead of a TurboChannel module: There is no clock module for the
TurboChannel (at least not when we needed it).

-Han


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

* Re: Clock interval on MIPS workstations
@ 1991-06-11 18:25 mcculley
  0 siblings, 0 replies; 5+ messages in thread
From: mcculley @ 1991-06-11 18:25 UTC (permalink / raw)



In article <1292@sousa.ltn.dec.com>, pilmeyer@utrtsc.dec.com writes...
>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.  
>On the MIPS based DECstations the clock runs at 256 Hz. [...]

Henry's original question mentioned that the same question was posted to
comp.unix.ultrix but got no responses.  For the sake of completeness it
probably should be mentioned here that there was a subsequent answer there
(from Jeff Mogul) that not only gave the same information as Han's post here,
but also added that other clock rates were possible and offered a modified
clock driver to implement them.

--bruce


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

end of thread, other threads:[~1991-06-11 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-06-10 18:50 Clock interval on MIPS workstations pilmeyer
1991-06-10 11:56 ` Ted Lemon
  -- strict thread matches above, loose matches on Subject: below --
1991-06-11 18:25 mcculley
1991-06-11 13:39 pilmeyer
1991-06-09 23:30 Van Cleef Henry H

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