From b05afdd5ec325bdb4cc89bb3be177ed577bea41f Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 26 Feb 2024 12:51:47 -0500 Subject: gh-115168: Add pystats counter for invalidated executors (GH-115169) --- Python/specialize.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/specialize.c') 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); -- cgit v1.2.3