diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-06-08 08:17:44 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-06-08 08:17:44 +0000 |
commit | f30d60edbc0d5047a2fdd01e25868e4b814107e2 (patch) | |
tree | 426daf743461139871a9c8b79aa8f63b5f79ccf6 /Python/pystate.c | |
parent | d68d3ee3dd504661a6f5b0f5810211fef814b919 (diff) | |
download | cpython-git-f30d60edbc0d5047a2fdd01e25868e4b814107e2.tar.gz |
Patch #510695: Add TSC profiling for the VM.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 3 |
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; |