Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Przemek Klosowski <przemek@rrdjazz.nist.gov>
Subject: Re: SX/PYXIS timekeeping problem
Date: Thu, 22 Jan 1998 12:14:20 -0500	[thread overview]
Message-ID: <199801221714.MAA24830@rrdjazz.nist.gov> (raw)

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 <przemek@nist.gov>  (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

             reply	other threads:[~1998-01-22 17:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-22 17:14 Przemek Klosowski [this message]
1998-01-22  7:53 ` SX/PYXIS timekeeping problem Jay.Estabrook
1998-01-22 18:10   ` Richard Henderson
     [not found] <Pine.GSO.3.96.980122150229.14430A-100000@utopia.poly.edu>
1998-01-23  0:07 ` Ladislav Zejda
     [not found] <Pine.GSO.3.96.980121231848.23843D-100000@utopia.poly.edu>
1998-01-22  6:08 ` Alan Young
     [not found] <199801220238.VAA01871@alpha1.estabrook.org>
1998-01-22  4:57 ` Aleksandr Pilosov
     [not found] <19980121182444.08211@dot.cygnus.com>
1998-01-22  2:32 ` Aleksandr Pilosov
     [not found] <Pine.GSO.3.96.980121212845.7205B-100000@utopia.poly.edu>
1998-01-22  2:30 ` Chris Frost
     [not found] <Pine.GSO.3.96.980121190111.22441H-100000@utopia.poly.edu>
1998-01-22  2:24 ` Richard Henderson
1998-01-22  2:38 ` Jay.Estabrook
  -- strict thread matches above, loose matches on Subject: below --
1998-01-22  0:15 Aleksandr Pilosov
1998-01-22  0:15 Aleksandr Pilosov
read-only archive

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