diff options
author | Mark Shannon <mark@hotpy.org> | 2022-05-18 13:38:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 13:38:43 (GMT) |
commit | a4460f2eb8b9db46a9bce3c450c8b038038a7c93 (patch) | |
tree | 7b05dbe2f220e575f642bf5c66fa1a54478aeb32 /Python/specialize.c | |
parent | 3fa023721b495e02e1e6c89fdc737afc7d186cb5 (diff) | |
download | cpython-a4460f2eb8b9db46a9bce3c450c8b038038a7c93.zip cpython-a4460f2eb8b9db46a9bce3c450c8b038038a7c93.tar.gz cpython-a4460f2eb8b9db46a9bce3c450c8b038038a7c93.tar.bz2 |
Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r-- | Python/specialize.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c index 6a91389..5469285 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -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); |