vprof/memory_profiler.py
def profile_function(self):
        """Returns memory stats for a function."""
        target_modules = {self._run_object.__code__.co_filename}
        with _CodeEventsTracker(target_modules) as prof:
            prof.compute_mem_overhead()
            result = self._run_object(*self._run_args, **self._run_kwargs)
        return prof, result
def profile_function(self):
        """Returns memory stats for a function."""
        target_modules = {self._run_object.__code__.co_filename}
        with _CodeEventsTracker(target_modules) as prof:
            prof.compute_mem_overhead()
            result = self._run_object(*self._run_args, **self._run_kwargs)
        return prof, result
def profile_function ( self ) : target_modules = { self . _run_object . __code__ . co_filename } with _CodeEventsTracker ( target_modules ) as prof : prof . compute_mem_overhead ( ) result = self . _run_object ( * self . _run_args , * * self . _run_kwargs ) return prof , result
Returns memory stats for a function.
Returns memory stats for a function .