summaryrefslogtreecommitdiffstats
path: root/Include/pystate.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-10-09 12:53:01 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-10-09 12:53:01 (GMT)
commit8d197674039bc3bc2f054095148ddaadec3afc97 (patch)
tree00ed8b0ce67f7f5003564bd56c9db8a89daba064 /Include/pystate.h
parent210871db72ef4a8bcdb6eb46511ca2b4e4a4a1d7 (diff)
downloadcpython-8d197674039bc3bc2f054095148ddaadec3afc97.zip
cpython-8d197674039bc3bc2f054095148ddaadec3afc97.tar.gz
cpython-8d197674039bc3bc2f054095148ddaadec3afc97.tar.bz2
Close #19199: Remove ``PyThreadState.tick_counter`` field
Diffstat (limited to 'Include/pystate.h')
-rw-r--r--Include/pystate.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index ddc6892..06af808 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -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 */