Commit 10239ec8 authored by Tim Peters's avatar Tim Peters

Added a comment about the unreferenced PyThreadState.tick_counter

member.
parent b387d9a4
...@@ -74,7 +74,14 @@ typedef struct _ts { ...@@ -74,7 +74,14 @@ typedef struct _ts {
PyObject *dict; PyObject *dict;
/* 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 tick_counter;
int gilstate_counter; int gilstate_counter;
PyObject *async_exc; /* Asynchronous exception to raise */ PyObject *async_exc; /* Asynchronous exception to raise */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment