aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2024-02-26 12:51:47 -0500
committerGitHub <noreply@github.com>2024-02-26 17:51:47 +0000
commitb05afdd5ec325bdb4cc89bb3be177ed577bea41f (patch)
treeecdb6276a76f5af92e3c3a9d249a5eb8361c9499 /Python/specialize.c
parent96c10c648565c7406d5606099dbbb937310c26dc (diff)
downloadcpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.tar.gz
cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.zip
gh-115168: Add pystats counter for invalidated executors (GH-115169)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r--Python/specialize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index 871979d9229..f83d8a9ceb0 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -236,6 +236,7 @@ print_optimization_stats(FILE *out, OptimizationStats *stats)
fprintf(out, "Optimization inner loop: %" PRIu64 "\n", stats->inner_loop);
fprintf(out, "Optimization recursive call: %" PRIu64 "\n", stats->recursive_call);
fprintf(out, "Optimization low confidence: %" PRIu64 "\n", stats->low_confidence);
+ fprintf(out, "Executors invalidated: %" PRIu64 "\n", stats->executors_invalidated);
print_histogram(out, "Trace length", stats->trace_length_hist);
print_histogram(out, "Trace run length", stats->trace_run_length_hist);