Re: Cycles per Tool function?
- From: Jeff Blakeney <CUTjblakeney@xxxxxxxxxxxx>
- Date: Tue, 11 Oct 2005 12:42:04 -0400
On 9 Oct 2005 21:04:32 -0700, "Dave" <dm@xxxxxxxxxx> wrote:
>Just wondering... was their ever any documentation on how many cycles
>each GSOS Toolbox Tool function takes?
Not that I know of.
>Just wondering as it would be really good to know sometimes just how
>intensive certain toolbox functions are.
Yes this would be nice information to have.
>I realise that a lot of tools call other tools but if they were all
>documented then it would be easy to add them together and work out the
>total overhead in calling a specific function
Each tool call may not have a single cycle count as there could be
decisions being made on the parameters passed in that can make the
routine take more or less time.
>Guess if there isnt the only way would be to disassemble each function
>from rom/disk?
You don't need to do that. You could just write a toolbox "exerciser"
program that would allow you to enter parameters for the toolbox call
and time how long it takes to run the routine. If the routine is too
fast for the timer resolution, you could always run the toolbox
routine 100 or 1000 times and then divide the total time by the number
of calls you made. This will at least give you a rough idea how long
a given routine would take to run.
>Lastly, not on the same topic... is it best to still post questions
>like this to csa2.prog or is usage so low now its best to just post in
>csa2?
I still read all the newsgroups (cba2, csa2, csa2.comm, csa2.gno,
csa2.marketplace, csa2.programmer and csa2.usergroups) and prefer it
if people post in the appropriate areas.
--
Jeff Blakeney - Dean of the Apple II University in the
Apple II Community on Syndicomm.com
CUT the obvious from my address if you want to e-mail me
.
- Follow-Ups:
- Re: Cycles per Tool function?
- From: Martin Doherty
- Re: Cycles per Tool function?
- References:
- Cycles per Tool function?
- From: Dave
- Cycles per Tool function?
- Prev by Date: Re: Cycles per Tool function?
- Next by Date: Re: Cycles per Tool function?
- Previous by thread: Re: Cycles per Tool function?
- Next by thread: Re: Cycles per Tool function?
- Index(es):
Relevant Pages
|