Timing v1.01

Execution timing program

Author: Bhuvanesh Bhatt (bbhatt1@towson.edu)





Timing(“command” [, “varname”]) returns the result of command and shows the execution time in the status line. If the optional variable-name argument is provided, the timing value is stored in that variable.



The total calculation time must be less than an hour, otherwise the timing will not be accurate. Also, to time C programs on HW2 calculators, you must first install Kevin Kofler’s h220xtsr, which you can get from:




Here’s the timing for expanding (x+y)^20:


Here’s the timing for a Fast Fourier Transform of a 128-element list:


You can store the timing value to a variable:



What’s New:

·        Improved timing accuracy (the interrupt rate given in the TIGCC docs is incorrect)

·        Added an option to store the timing value


Bugs and notes:

·        The granularity is about 0.05 second, while the error should be less than 0.05 second.
·        To time commands that include strings, use double-quotes for the inner string.
For example, Timing("strprgm(""mystring"")")


Thanks to:

·        The TIGCC team

·        E.W.

·        Artraze, for his help with this program.
He made a timing program along with me; his program is at:

·        Texas Instruments, for such a nice platform (it would be much nicer without the restrictions)



Although this program has been tested, it is still possible that it may crash or hang. I am not responsible for any damage done to your calculator. To reset the calculator, press:

            [2nd][LOCK][ON] on the TI-92 Plus

            [2nd][LEFT][RIGHT][ON] on the TI-89

If this doesn't reset the calculator, take out a battery, press and hold [(-)][)] while you insert the battery. Of course, this does not mean your calculator will definitely crash or hang J In fact, you should be able to break a calculation by pressing [ON].


Copyright Bhuvanesh Bhatt.