>  Docs Center  >  Libraries  >  Motley  >  MGH_TOC
Libraries

MGH_TOC

MGH_TOC

Name


  MGH_TOC

Purpose


  MGH_TIC and MGH_TOC operate a global stopwatch. Call MGH_TIC to
  start the stopwatch and MGH_TOC to stop it and print the elapsed
  time.

Calling Sequence


  MGH_TIC
  <Do stuff to be timed here>
  MGH_TOC

Outputs


  MGH_TOC optionally returns the elapsed time as its first
  argument.

Common Blocks


  MGH_TICTOC_COMMON
###########################################################################
  This software is provided subject to the following conditions:
  1. NIWA makes no representations or warranties regarding the
    accuracy of the software, the use to which the software may
    be put or the results to be obtained from the use of the
    software. Accordingly NIWA accepts no liability for any loss
    or damage (whether direct of indirect) incurred by any person
    through the use of or reliance on the software.
  2. NIWA is to be acknowledged as the original author of the
    software where the software is used or presented in any form.
###########################################################################

Modification History


  Mark Hadfield, 2000-09:
    Written.
  Mark Hadfield, 2000-11:
    MGH_TIC and MGH_TOC now use an MGH_Stopwatch object.
  Mark Hadfield, 2005-07:
    Now reports stopwatch name if applicable.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us