diff options
author | Raymond Hettinger <python@rcn.com> | 2004-12-19 20:31:46 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-12-19 20:31:46 (GMT) |
commit | da264121f4a529504dd931bad2b0af351df67d39 (patch) | |
tree | 71602a655c255b8eef5d364a199cd306f870b206 /Doc/lib/libprofile.tex | |
parent | 3a4231dd745e54ae533ce46371637f1fe8fa6a7b (diff) | |
download | cpython-da264121f4a529504dd931bad2b0af351df67d39.zip cpython-da264121f4a529504dd931bad2b0af351df67d39.tar.gz cpython-da264121f4a529504dd931bad2b0af351df67d39.tar.bz2 |
Bug #1066607: "Limitations" section of profiler docs is incorrect
Diffstat (limited to 'Doc/lib/libprofile.tex')
-rw-r--r-- | Doc/lib/libprofile.tex | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex index 1f87632..e7632a1 100644 --- a/Doc/lib/libprofile.tex +++ b/Doc/lib/libprofile.tex @@ -528,16 +528,7 @@ ordering are identical to the \method{print_callers()} method. \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 |