Mailing List Archive

python/dist/src/Python ceval.c,2.301.4.6,2.301.4.7
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv11757/Python

Modified Files:
Tag: release22-maint
ceval.c
Log Message:
This is Armin Rigo's patch:

[ 617311 ] Tiny profiling info (Psyco #2)

Forward port candidate.


Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.301.4.6
retrieving revision 2.301.4.7
diff -C2 -d -r2.301.4.6 -r2.301.4.7
*** ceval.c 7 Oct 2002 09:37:26 -0000 2.301.4.6
--- ceval.c 7 Oct 2002 09:40:20 -0000 2.301.4.7
***************
*** 658,661 ****
--- 658,662 ----
if (things_to_do || --tstate->ticker < 0) {
tstate->ticker = tstate->interp->checkinterval;
+ tstate->tick_counter++;
if (things_to_do) {
if (Py_MakePendingCalls() < 0) {