IMP logo
IMP Reference Guide  develop.d97d4ead1f,2024/11/21
The Integrative Modeling Platform
IMP.pmi.tools.Stopwatch Class Reference

Collect timing information. More...

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 119 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 124 of file tools.py.


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