We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c3d44 commit 2a04eb4Copy full SHA for 2a04eb4
1 file changed
Include/internal/pycore_debug_offsets.h
@@ -222,6 +222,8 @@ typedef struct _Py_DebugOffsets {
222
uint64_t size;
223
uint64_t collecting;
224
uint64_t frame;
225
+ uint64_t generation_stats_size;
226
+ uint64_t generation_stats;
227
} gc;
228
229
// Generator object offset;
@@ -373,6 +375,8 @@ typedef struct _Py_DebugOffsets {
373
375
.size = sizeof(struct _gc_runtime_state), \
374
376
.collecting = offsetof(struct _gc_runtime_state, collecting), \
377
.frame = offsetof(struct _gc_runtime_state, frame), \
378
+ .generation_stats_size = sizeof(struct gc_stats), \
379
+ .generation_stats = offsetof(struct _gc_runtime_state, generation_stats), \
380
}, \
381
.gen_object = { \
382
.size = sizeof(PyGenObject), \
0 commit comments