Close #19199: Remove `PyThreadState.tick_counter` field

This commit is contained in:
Victor Stinner 2013-10-09 14:53:01 +02:00
parent 210871db72
commit 8d19767403
5 changed files with 4 additions and 13 deletions

View file

@ -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 */