diff Python/ceval.c @ 25632:4ca32e4f7839 2.2

This is Armin Rigo's patch: [ 617311 ] Tiny profiling info (Psyco #2) Forward port candidate.
author Michael W. Hudson <mwh@python.net>
date Mon, 07 Oct 2002 09:40:20 +0000
parents 85062a12c24f
children efa9a86464d3
line wrap: on
line diff
--- a/Python/ceval.c	Mon Oct 07 09:37:26 2002 +0000
+++ b/Python/ceval.c	Mon Oct 07 09:40:20 2002 +0000
@@ -657,6 +657,7 @@
 
 		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;