summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsys.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-08 08:17:44 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-08 08:17:44 (GMT)
commitf30d60edbc0d5047a2fdd01e25868e4b814107e2 (patch)
tree426daf743461139871a9c8b79aa8f63b5f79ccf6 /Doc/lib/libsys.tex
parentd68d3ee3dd504661a6f5b0f5810211fef814b919 (diff)
downloadcpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.zip
cpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.tar.gz
cpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.tar.bz2
Patch #510695: Add TSC profiling for the VM.
Diffstat (limited to 'Doc/lib/libsys.tex')
-rw-r--r--Doc/lib/libsys.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index 3b81384..ceced16 100644
--- a/Doc/lib/libsys.tex
+++ b/Doc/lib/libsys.tex
@@ -475,6 +475,16 @@ else:
debugged.
\end{funcdesc}
+\begin{funcdesc}{settscdump}{on_flag}
+ Activate dumping of VM measurements using the Pentium timestamp
+ counter, if \var{on_flag} is true. Deactivate these dumps if
+ \var{on_flag} is off. The function is available only if Python
+ was compiled with \code{--with-tsc}. To understand the output
+ of this dump, read \code{Python/ceval.c}.
+
+ \versionadded{2.4}
+\end{funcdesc}
+
\begin{datadesc}{stdin}
\dataline{stdout}
\dataline{stderr}