diff options
author | Mark Shannon <mark@hotpy.org> | 2024-02-12 16:07:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 16:07:38 (GMT) |
commit | 814466101790d4381ca4800c3d3b0cc0aad50c62 (patch) | |
tree | 6e4e71af88ab2951fe172a7e821e857606def6d6 /Python/specialize.c | |
parent | 93ac78ac3ee124942bca7492149c3ff0003b6e30 (diff) | |
download | cpython-814466101790d4381ca4800c3d3b0cc0aad50c62.zip cpython-814466101790d4381ca4800c3d3b0cc0aad50c62.tar.gz cpython-814466101790d4381ca4800c3d3b0cc0aad50c62.tar.bz2 |
GH-113710: Fix updating of dict version tag and add watched dict stats (GH-115221)
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 e38e355..ea26385 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -275,6 +275,8 @@ print_rare_event_stats(FILE *out, RareEventStats *stats) fprintf(out, "Rare event (set_eval_frame_func): %" PRIu64 "\n", stats->set_eval_frame_func); fprintf(out, "Rare event (builtin_dict): %" PRIu64 "\n", stats->builtin_dict); fprintf(out, "Rare event (func_modification): %" PRIu64 "\n", stats->func_modification); + fprintf(out, "Rare event (watched_dict_modification): %" PRIu64 "\n", stats->watched_dict_modification); + fprintf(out, "Rare event (watched_globals_modification): %" PRIu64 "\n", stats->watched_globals_modification); } static void |