home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11763 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.2 KB

  1. Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!pta!sphinx!usage!csdvax.csd.unsw.edu.au!89u7491
  2. From: 89u7491@csdvax.csd.unsw.edu.au
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: CPU cycles
  5. Message-ID: <1992Jul24.140511.2717@csdvax.csd.unsw.edu.au>
  6. Date: 24 Jul 92 04:05:11 GMT
  7. References: <jbickers.0bpc@templar.actrix.gen.nz>
  8. Organization: University of New South Wales
  9. Lines: 15
  10.  
  11. In article <jbickers.0bpc@templar.actrix.gen.nz>, jbickers@templar.actrix.gen.nz (John Bickers) writes:
  12. >     My routine takes around 2920 cycles, but it's only happening about
  13. >     850 times a second. Multiplying the two tells me there's roughly
  14. >     2,500,000 cycles a second, when I expected ten times that (25MHz).
  15.                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  16. You have forgotten memory access times. Time taken to get/put data from memory
  17. is considerably longer than a CPU cycle, this will raise the expected numer of
  18. Cycles per instruction. Secondly the 68030 instruction cycle may not be running
  19. at 25Mhz, it may be some derivative of this? (I'm not sure here). Anyway isn't
  20. the 68030 pipelined, in which case all instructions should take 1 pipeline
  21. cycle once the pipe is full.
  22.  
  23. Cheers
  24. -Trevor
  25.