MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / start

Method start

python/dolfinx/common.py:144–146  ·  view source on GitHub ↗

Reset elapsed time and (re-)start timer.

(self)

Source from the content-addressed store, hash-verified

142 self._cpp_object.flush()
143
144 def start(self) -> None:
145 """Reset elapsed time and (re-)start timer."""
146 self._cpp_object.start()
147
148 def stop(self) -> datetime.timedelta:
149 """Stop timer and return elapsed time.

Callers 3

test_timerFunction · 0.95
test_timer_flush_stopFunction · 0.95
__enter__Method · 0.45

Calls

no outgoing calls

Tested by 2

test_timerFunction · 0.76
test_timer_flush_stopFunction · 0.76