Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919) · python/cpython@a4460f2 (original) (raw)

`@@ -191,6 +191,8 @@ print_object_stats(FILE *out, ObjectStats *stats)

`

191

191

`fprintf(out, "Object allocations over 4 kbytes: %" PRIu64 "\n", stats->allocations_big);

`

192

192

`fprintf(out, "Object frees: %" PRIu64 "\n", stats->frees);

`

193

193

`fprintf(out, "Object new values: %" PRIu64 "\n", stats->new_values);

`

``

194

`+

fprintf(out, "Object interpreter increfs: %" PRIu64 "\n", stats->interpreter_increfs);

`

``

195

`+

fprintf(out, "Object interpreter decrefs: %" PRIu64 "\n", stats->interpreter_decrefs);

`

194

196

`fprintf(out, "Object increfs: %" PRIu64 "\n", stats->increfs);

`

195

197

`fprintf(out, "Object decrefs: %" PRIu64 "\n", stats->decrefs);

`

196

198

`fprintf(out, "Object materialize dict (on request): %" PRIu64 "\n", stats->dict_materialized_on_request);

`