summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-10-07 09:40:20 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-10-07 09:40:20 (GMT)
commitddd3f0ea7bba0a55d4da05d2bb29e4394b5e03c0 (patch)
tree8973501f49c5a5e802c9e1dfa0553053d8e972a7 /Python
parentb397f21432b617f25875db0157c3b90b6b7b3977 (diff)
downloadcpython-ddd3f0ea7bba0a55d4da05d2bb29e4394b5e03c0.zip
cpython-ddd3f0ea7bba0a55d4da05d2bb29e4394b5e03c0.tar.gz
cpython-ddd3f0ea7bba0a55d4da05d2bb29e4394b5e03c0.tar.bz2
This is Armin Rigo's patch:
[ 617311 ] Tiny profiling info (Psyco #2) Forward port candidate.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index e8fefca..3a5504b 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -657,6 +657,7 @@ eval_frame(PyFrameObject *f)
if (things_to_do || --tstate->ticker < 0) {
tstate->ticker = tstate->interp->checkinterval;
+ tstate->tick_counter++;
if (things_to_do) {
if (Py_MakePendingCalls() < 0) {
why = WHY_EXCEPTION;