report_timing
(class from pyomo.common.timing
)
- class pyomo.common.timing.report_timing(stream=True, level=20)[source]
Bases:
object
- __init__(stream=True, level=20)[source]
Set reporting of Pyomo timing information.
For historical reasons, this class may be used as a function (the reporting logger is configured as part of the instance initializer). However, the preferred usage is as a context manager (thereby ensuring that the timing logger is restored upon exit).
Methods
__init__
([stream, level])Set reporting of Pyomo timing information.
reset
()Member Documentation