IMP logo
IMP Reference Guide  2.20.0
The Integrative Modeling Platform
IMP.pmi.tools.Stopwatch Class Reference

Collect timing information. More...

Inherits object.

Detailed Description

Collect timing information.

Add an instance of this class to outputobjects to get timing information in a stat file.

Note
This class is only available in Python.

Definition at line 127 of file tools.py.

Public Member Functions

def __init__
 Constructor. More...
 

Constructor & Destructor Documentation

def IMP.pmi.tools.Stopwatch.__init__ (   self,
  isdelta = True 
)

Constructor.

Parameters
isdeltaif True (the default) then report the time since the last use of this class; if False, report cumulative time.

Definition at line 132 of file tools.py.


The documentation for this class was generated from the following file: