summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-08 08:17:44 +0000
committerMartin v. Löwis <martin@v.loewis.de>2004-06-08 08:17:44 +0000
commit046431b8a0f10c5251244ea8e4158037545e13ef (patch)
treef87a088b7bdd5f7e638ce6e755af1bf155cb68ae /Python/pystate.c
parentc7eb2571ad6e8a15623049257ffac01a9e7c3fc2 (diff)
downloadcpython-046431b8a0f10c5251244ea8e4158037545e13ef.tar.gz
Patch #510695: Add TSC profiling for the VM.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index b0eb4c48a7..6a8beb940c 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -59,6 +59,9 @@ PyInterpreterState_New(void)
interp->dlopenflags = RTLD_LAZY;
#endif
#endif
+#ifdef WITH_TSC
+ interp->tscdump = 0;
+#endif
HEAD_LOCK();
interp->next = interp_head;