Package schrodinger :: Package utils :: Module timers
[hide private]
[frames] | no frames]

Module timers

Timer classes.

Contains a single class, IncrementalTimer, whose instances compute absolute and incremental wall and CPU times and, optionally, times per item that the calling program processed.

The main function does nothing useful, but just demonstrates the use of the IncrementalTimer class.

The generic name "timers" is used for the module in case we should decide to add more classes in the future.

Copyright Schrodinger, LLC. All rights reserved.

Classes [hide private]
  IncrementalTimer
Track absolute total and incremental wall and CPU time and, optionally, times per item processed, possibly for several types of item.
Functions [hide private]
 
main()
Variables [hide private]
  __package__ = 'schrodinger.utils'