Author vstinner
Recipients pitrou, serhiy.storchaka, vstinner
Date 2013-10-08.21:18:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The C structure "PyThreadState" has a counter which is incremented in the bytecode evaluation loop (ceval.c), but never used.

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

Antoine Pitrou added the XXX comment when he merged the "new GIL" of Python 3.2.

Can we now remove it?
Date User Action Args
2013-10-08 21:18:41vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2013-10-08 21:18:41vstinnersetmessageid: <>
2013-10-08 21:18:41vstinnerlinkissue19199 messages
2013-10-08 21:18:40vstinnercreate