We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c01071f commit 2b4c569Copy full SHA for 2b4c569
pyomo/common/timing.py
@@ -978,6 +978,12 @@ def flatten(self):
978
"""Flatten the HierarchicalTimer in-place, moving all the timing
979
categories into a single level
980
981
+ If any timers moved into the same level have the same identifier,
982
+ the ``total_time`` and ``n_calls`` fields are added together.
983
+ The ``total_time`` of a "child timer" that is "moved upwards" is
984
+ subtracted from the ``total_time`` of that timer's original
985
+ parent.
986
+
987
"""
988
if self.stack:
989
raise RuntimeError(
0 commit comments