home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2550 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Wed, 31 Jan 96 18:54:59 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: C2P
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.4apn@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 29 Jan 96 Juergen "rally" Fischer wrote to All:
  14.  
  15.  |>>  JAM> Why don't you use ReadEClock()? 
  16.  
  17.  |>> Works great, in fact, when used properly (and when you time sufficient
  18.  |>> loops and take some other stuff into account) you can create a routine
  19.  |>> which is accurate enough to tell you that instructions like 'Move.l
  20.  |>> d0,d0' take 2.00 cycles on a 68030 (so it is accurate to about 1/100th
  21.  |>> of a CPU cycle -- I guess that beats counting rasterlines)
  22.  
  23.  JrF> hehe and what about estimating the ratio outer vs inner loop of a
  24.  JrF> polyengine ? I let outer loop appear yellow and inner red.
  25.  
  26. That would be simple.  Just time the outerloop + innerloop, and then time the
  27. outerloop alone (ie, with a non-existant innerloop).  Do some math and you
  28. should get an acceptable answer.
  29.  
  30. Grtz John
  31.  
  32. -----------------------------------------------------------------------
  33.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  34. -----------------------------------------------------------------------
  35. -- Via Xenolink 1.981, XenolinkUUCP 1.1
  36.