From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199801221714.MAA24830@rrdjazz.nist.gov> Date: Thu, 22 Jan 1998 12:14:20 -0500 From: Przemek Klosowski Subject: Re: SX/PYXIS timekeeping problem I'm afraid MILO is going to have a hard time figuring out what the cycle freq needs to be set to. AlphaBIOS probably knows but I don't know how MILO could get that info from it, and SRM usually sets the field accurately (and no MILO is needed using SRM console). Sorry if this is naive, but doesn't alpha have a cycle counter? On Pentium, I have done things like cnt=RDMTR(); sleep(1); cnt = RDMTR() - cnt; where RDMTR is an assembler inline reading the pentium cycle counter register. For a 166 MHz pentium this returns pretty close to 166,000,000. przemek klosowski (301) 975-6249 NIST Center for Neutron Research (bldg. 235), E111 National Institute of Standards and Technology Gaithersburg, MD 20899, USA .. and for spam extractors, FCC Commisioners' email is: wkennard@fcc.gov,sness@fcc.gov,pmisener@fcc.gov,mpowell@fcc.gov -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com