Re: Cycles per Tool function?



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
.



Relevant Pages

  • Re: OWC11 Not coming For webpage....
    ... Your parse routine should be something like this ... chart from microsoft office xp web components. ... in toolbox i do right click and i choose "choose items" from com ...
    (microsoft.public.office.developer.web.components)
  • Re: Idea: Multitasking graphical OS for the GS
    ... My thinking over the years has been to start with the toolbox. ... an event loop like so: ... tell the operating system when each function in your ... when the routine finishes. ...
    (comp.sys.apple2)
  • Re: ComboBox and UserForm_Initialize
    ... I used the View>Toolbars>Control Toolbox. ... After adding the ComboBox I right ... UserForm_Initialize routine but it seems not to execute. ...
    (microsoft.public.word.docmanagement)
  • Re: Cycles per Tool function?
    ... 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. ... I would just suggest that you should also run the timing loop 1000 times with a null toolbox call, so you can subtract the overhead of the measurement code from the result before dividing by X. ... t1 = clock; ...
    (comp.sys.apple2.programmer)
  • Integer Data representation in MATLAB GA toolbox?
    ... I have downloaded the GA toolbox (Sheffield) from: ... In the documentation it says clearly that you can create an integer ... Prev by Date: ...
    (comp.ai.genetic)