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.
|
IncrementalTimer
Track absolute total and incremental wall and CPU time and,
optionally, times per item processed, possibly for several types
of item.
|
|
__package__ = ' schrodinger.utils '
|