mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Close #19199: Remove `PyThreadState.tick_counter` field
This commit is contained in:
parent
210871db72
commit
8d19767403
5 changed files with 4 additions and 13 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue