next up previous contents index
Next: Program Structure Up: The Standard Context Previous: Type Conversion Routines.

Timing Routines.

       

    procedure ZPLStartTimer (var sec: integer; var usec: integer);
    procedure ZPLCheckTimer (var sec: integer; var usec: integer);
ZPLStartTimer() is used to initialize the clock. It takes two arguments that, upon return, contain the number of seconds and microseconds that have elapsed since the program started. This measures the amount of time spent in compiler-generated startup procedures.

ZPLCheckTimer() returns the number of seconds and microseconds that have elapsed since the clock was initialized with ZPLStartTimer().



Kay Nettle
Fri Feb 21 21:14:29 CST 1997