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