mirror of
https://github.com/python/cpython.git
synced 2026-05-10 04:20:54 +00:00
Move heap_size to the end of the gc_generation_stats struct
This commit is contained in:
parent
704e94e036
commit
83953c5807
1 changed files with 2 additions and 2 deletions
|
|
@ -181,8 +181,6 @@ 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 */
|
||||
|
|
@ -193,6 +191,8 @@ struct gc_generation_stats {
|
|||
Py_ssize_t candidates;
|
||||
// Total duration of the collection in seconds:
|
||||
double duration;
|
||||
/* heap_size on the start of the collection */
|
||||
Py_ssize_t heap_size;
|
||||
};
|
||||
|
||||
#ifdef Py_GIL_DISABLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue