mirror of
https://github.com/python/cpython.git
synced 2026-05-12 05:20:48 +00:00
Add heap_size to stats
This commit is contained in:
parent
b6ec9924fb
commit
2281499513
2 changed files with 5 additions and 1 deletions
|
|
@ -181,6 +181,8 @@ struct gc_generation {
|
|||
struct gc_generation_stats {
|
||||
PyTime_t ts_start;
|
||||
PyTime_t ts_stop;
|
||||
/* heap_size on the start of the collection */
|
||||
Py_ssize_t heap_size;
|
||||
/* total number of collections */
|
||||
Py_ssize_t collections;
|
||||
/* total number of collected objects */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue