Re: A83: Re: Time???


[Prev][Next][Index][Thread]

Re: A83: Re: Time???




The calculating code does not take different amounts of time to execute,
exactly.  It's fairly constant time.  What you do is do something like
increment a counter in an interrupt handler.  At the top of your timing
code, say set it to 0.  When it hits 1, start your code.  Loop for a certain
amount of time (that is constant), and check how many interrupts were called
in that time period.

One of Kirk Meyer's programs did this exact thing, so you could check there
for the source.  Or dissassemble Rascall or YAS.

Of course, this may not work at all on the 82/83...

> How many times it's being called... per second? How are you going to do
that if your
> calculating routine takes different amounts of time to execute? :)




References: