|
write a little MI-program: CPYNV NN,1234; ADDN(S) NN,1; SUBN(S) NN,1; repeat the above three instructions 33 times, put a loop around these 99 instructions to execute them a million times. Disassemble the program and count RISC instructions for the loop. Assume one RISC instruction per cycle. Divide the time it took by the number of instructions. Then you have time per instruction. If that time is 30 nanoseconds, you have a 33MHz machine. ----- Original Message ----- From: Buck Calabro <buck.calabro@aptissoftware.com> To: <MIDRANGE-L@midrange.com> Sent: Monday, February 12, 2001 8:16 AM Subject: RE: MHz for 150 > Leif, How did you measure the CPU speed? > > Buck > > > ----- Original Message ----- > > From: Leif Svalgaard <leif@leif.org> > > Sent: Thursday, February 08, 2001 10:36 AM > > Subject: MHz for 150 > > > > > > > I know that this is a meaningless number, but what *is* the > > > MHz rating for the processor for an AS/400 model 150? > > > (or maybe really: how many of these MHz can be used by > > > a user program?). > > > > My own measurements seems to indicate 33 MHz as > > being a good number. Anybody have a better one? > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.