Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.iastate.edu!vancleef From: vancleef@iastate.edu (Van Cleef Henry H) Newsgroups: comp.unix.ultrix Subject: Clock granularity on MIPS workstations Summary: Need to know how often time is updated Keywords: ultrix timeval clock Message-ID: <1991Jun7.214327.21897@news.iastate.edu> Date: 7 Jun 91 21:43:27 GMT Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA Lines: 15 Originator: vancleef@tbird.cc.iastate.edu I am doing some profile-type testing in which I use the gettimeofday(2) function, which returns a struct timeval with seconds and microseconds. What is the granularity of the clock in updating the microsecond field. That is, how many microseconds are added? Hardware involved is DECstation 2100, 3100, and 5000, running Ultrix 4.1 (soon to update to 4.2). If the values are different on different workstations, I need to know this too. -- Hank van Cleef vancleef@iastate.edu Iowa State University, Ames. Ia. tmn!vancleef The Union Institute, Cincinnati, Oh.