mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919)
This commit is contained in:
parent
3fa023721b
commit
a4460f2eb8
6 changed files with 24 additions and 0 deletions
|
@ -191,6 +191,8 @@ print_object_stats(FILE *out, ObjectStats *stats)
|
|||
fprintf(out, "Object allocations over 4 kbytes: %" PRIu64 "\n", stats->allocations_big);
|
||||
fprintf(out, "Object frees: %" PRIu64 "\n", stats->frees);
|
||||
fprintf(out, "Object new values: %" PRIu64 "\n", stats->new_values);
|
||||
fprintf(out, "Object interpreter increfs: %" PRIu64 "\n", stats->interpreter_increfs);
|
||||
fprintf(out, "Object interpreter decrefs: %" PRIu64 "\n", stats->interpreter_decrefs);
|
||||
fprintf(out, "Object increfs: %" PRIu64 "\n", stats->increfs);
|
||||
fprintf(out, "Object decrefs: %" PRIu64 "\n", stats->decrefs);
|
||||
fprintf(out, "Object materialize dict (on request): %" PRIu64 "\n", stats->dict_materialized_on_request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue