From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b08,6266f9f777efcf2d X-Google-Attributes: gid102b08,public X-Google-Thread: 1164f8,6266f9f777efcf2d X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,6266f9f777efcf2d X-Google-Attributes: gid114b0c,public X-Google-Thread: f4871,6266f9f777efcf2d X-Google-Attributes: gidf4871,public X-Google-ArrivalTime: 1994-01-22 22:37:07 PST Xref: gmd.de comp.sys.sun.apps:6744 comp.sys.hp:28703 comp.parallel.pvm:1309 comp.sys.dec:13026 Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!olivea!koriel!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!engnews1.Eng.Sun.COM!appserv.Eng.Sun.COM!cyber!barts From: barts@cyber.Eng.Sun.COM (Bart Smaalders) Newsgroups: comp.sys.sun.apps,comp.sys.hp,comp.parallel.pvm,comp.sys.dec Subject: Re: Accessing Real Time Clock in workstations (HPs, Suns, Dec Alphas) Date: 21 Jan 1994 16:59:53 GMT Organization: Sun Microsystems Inc., Mountain View, CA, USA Distribution: world Message-ID: References: <2hmq76INNd2e@flop.ENGR.ORST.EDU> NNTP-Posting-Host: cyber In-reply-to: padalam@research.CS.ORST.EDU's message of 20 Jan 1994 20:40:06 GMT For SPARC machines: Use gettimeofday. The resolution of the timer will vary with the OS. Before Solaris 2.2, the time value was updated by the clock (100 Hz). Since then, gettimeofday is accurate to 1 microsecond on 4c (ss1->2), 4m(ss10) and 4d (ss[12]000) platforms. - Bart