]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bug #1066607: "Limitations" section of profiler docs is incorrect
authorRaymond Hettinger <python@rcn.com>
Sun, 19 Dec 2004 20:33:08 +0000 (20:33 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 19 Dec 2004 20:33:08 +0000 (20:33 +0000)
Doc/lib/libprofile.tex

index 10cff849521a985632dcb73381bcba621d420ac6..0d9bec7fcabec4c0c3647ca4f03199a7c9465d81 100644 (file)
@@ -536,16 +536,7 @@ Python.\footnote{
 
 \section{Limitations \label{profile-limits}}
 
-There are two fundamental limitations on this profiler.  The first is
-that it relies on the Python interpreter to dispatch \dfn{call},
-\dfn{return}, and \dfn{exception} events.  Compiled \C{} code does not
-get interpreted, and hence is ``invisible'' to the profiler.  All time
-spent in \C{} code (including built-in functions) will be charged to the
-Python function that invoked the \C{} code.  If the \C{} code calls out
-to some native Python code, then those calls will be profiled
-properly.
-
-The second limitation has to do with accuracy of timing information.
+One limitation has to do with accuracy of timing information.
 There is a fundamental problem with deterministic profilers involving
 accuracy.  The most obvious restriction is that the underlying ``clock''
 is only ticking at a rate (typically) of about .001 seconds.  Hence no