MCPcopy Index your code
hub / github.com/pythonprofilers/memory_profiler / __exit__

Method __exit__

memory_profiler.py:527–533  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

525 include_children=self.include_children, filename=self.filename))
526
527 def __exit__(self, *args):
528 if self.ts is not None:
529 self.ts.current_stack_level -= 1
530
531 self.timestamps.append(
532 _get_memory(os.getpid(), self.backend, timestamps=True,
533 include_children=self.include_children, filename=self.filename))
534
535
536class TimeStamper:

Callers

nothing calls this directly

Calls 1

_get_memoryFunction · 0.85

Tested by

no test coverage detected