summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
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 /Python/pystate.c
parentd68d3ee3dd504661a6f5b0f5810211fef814b919 (diff)
downloadcpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.zip
cpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.tar.gz
cpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.tar.bz2
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 b0eb4c4..6a8beb9 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;