diff Doc/lib/libsys.tex @ 32301:41c59d80bbc5 legacy-trunk

Patch #510695: Add TSC profiling for the VM.
author Martin v. Löwis <martin@v.loewis.de>
date Tue, 08 Jun 2004 08:17:44 +0000
parents c4d9a96be2dd
children a0d8b1456819
line wrap: on
line diff
--- a/Doc/lib/libsys.tex	Tue Jun 08 02:58:50 2004 +0000
+++ b/Doc/lib/libsys.tex	Tue Jun 08 08:17:44 2004 +0000
@@ -475,6 +475,16 @@
   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}