diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2013-10-09 14:53:01 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2013-10-09 14:53:01 +0200 |
| commit | 8d197674039bc3bc2f054095148ddaadec3afc97 (patch) | |
| tree | 00ed8b0ce67f7f5003564bd56c9db8a89daba064 /Include | |
| parent | 210871db72ef4a8bcdb6eb46511ca2b4e4a4a1d7 (diff) | |
| download | cpython-git-8d197674039bc3bc2f054095148ddaadec3afc97.tar.gz | |
Close #19199: Remove ``PyThreadState.tick_counter`` field
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/pystate.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Include/pystate.h b/Include/pystate.h index ddc68922cb..06af808444 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 */ |
