Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
This would only apply with--enable-pystats and thus#define Py_STATS. For normal builds nothing would change.
Addsys._stats_on(),sys._stats_off(),sys._stats_clear() andsys._stats_dump() functions.
This would allow us to record and dump stats for parts of a program.
This would be useful for experimentation and having stats match timings for pyperf, as we could turn on stats when starting the timer, and turn them off when stopping the timer.