diff -r 1cbd3d9f7d61 Include/pystate.h --- a/Include/pystate.h Tue Oct 08 23:04:32 2013 +0200 +++ b/Include/pystate.h Tue Oct 08 23:26:24 2013 +0200 @@ -100,16 +100,6 @@ typedef struct _ts { PyObject *dict; /* Stores per-thread state */ - /* XXX doesn't mean anything anymore (the comment below is obsolete) - => deprecate or remove? */ - /* tick_counter is incremented whenever the check_interval ticker - * reaches zero. The purpose is to give a useful measure of the number - * of interpreted bytecode instructions in a given thread. This - * extremely lightweight statistic collector may be of interest to - * profilers (like psyco.jit()), although nothing in the core uses it. - */ - int tick_counter; - int gilstate_counter; PyObject *async_exc; /* Asynchronous exception to raise */ diff -r 1cbd3d9f7d61 Python/ceval.c --- a/Python/ceval.c Tue Oct 08 23:04:32 2013 +0200 +++ b/Python/ceval.c Tue Oct 08 23:26:24 2013 +0200 @@ -1247,7 +1247,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int a try: finally: block uninterruptible. */ goto fast_next_opcode; } - tstate->tick_counter++; #ifdef WITH_TSC ticked = 1; #endif diff -r 1cbd3d9f7d61 Python/pystate.c --- a/Python/pystate.c Tue Oct 08 23:04:32 2013 +0200 +++ b/Python/pystate.c Tue Oct 08 23:26:24 2013 +0200 @@ -182,7 +182,6 @@ new_threadstate(PyInterpreterState *inte tstate->recursion_critical = 0; tstate->tracing = 0; tstate->use_tracing = 0; - tstate->tick_counter = 0; tstate->gilstate_counter = 0; tstate->async_exc = NULL; #ifdef WITH_THREAD