Skip to content

Commit 0266baa

Browse files
committed
added max_iterations to memory_usage docstring
1 parent fdf4488 commit 0266baa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

memory_profiler.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@ def memory_usage(proc=-1, interval=.1, timeout=None, timestamps=False,
280280
to this file instead of stored in memory and returned at the end of
281281
the subprocess. Useful for long-running processes.
282282
Implies timestamps=True.
283+
284+
max_iterations : int
285+
Limits the number of iterations (calls to the process being monitored). Relevent
286+
when the process is a python function.
283287
284288
Returns
285289
-------

0 commit comments

Comments
 (0)