We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d983034 commit f8c5b13Copy full SHA for f8c5b13
docs/vmprof.rst
@@ -121,6 +121,14 @@ Module level functions
121
* ``vmprof.read_profile(filename)`` - read vmprof data from
122
``filename`` and return ``Stats`` instance.
123
124
+ ``start/stop_sampling()`` - Disables or starts the sampling of vmprof. This
125
+ is useful to remove certain program parts from the profile. Be aware that
126
+ those program parts still can be in the profile if that code is reached
127
+ from another point in your program. In addition note that unix and windows
128
+ implementation behave differntly. Unix will increment/decrement a counter,
129
+ whereas windows has only two states for the counter (0 and 1).
130
+ This may change in future.
131
+
132
``Stats`` object
133
----------------
134
0 commit comments