MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / __exit__

Method __exit__

docling/utils/profiling.py:58–62  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

56 return self
57
58 def __exit__(self, *args):
59 if settings.debug.profile_pipeline_timings:
60 elapsed = time.monotonic() - self.start
61 self.conv_res.timings[self.key].times.append(elapsed)
62 self.conv_res.timings[self.key].count += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected