TIMER

From ICE Enterprises
Jump to navigation Jump to search

implements various timer functions

<FUNC>  - Name of the function (ON,OFF,SET,ELAPSE) [DEF=ON]
<LABEL> - Name of results parameter to receive timer information

The timer modes are: 
  1) elapsed time per command
  2) elapsed time over several commands
  3) resource usage per primitive.

FUNCTIONS:
  ON - TIMER ON
  turns on the "elapsed time per command" function.  The image
  activation time and the execution time for an intrinsic or primitive are
  shown in "wall clock" (not CPU) seconds.  System loading may affect this
  value.  These times are displayed on the terminal and cannot be recorded in
  results parameters.

  OFF - TIMER OFF
  Turns off the timer

  SET - TIMER SET
  turns on the "elapsed time over several commands" function, useful
  for timing a macro or a block within a macro.  Again, "wall clock" (not CPU)
  seconds are displayed, so system loading may affect this value as well.
  TIMER SET is used to "start the stopwatch", and TIMER ELAPSEd is used to 
  report the time to <LABEL>.  TIMER ELAPSED reports elapsed time and continues 
  timing.

  ELAPSEd - TIMER ELAPSE <LABEL>
  Used to report the time to <LABEL> since SET.  Reports elapsed time and 
  continues timing.

Examples:

Messages: NONE

Switches: NONE