| 585 | static atomic_int g_saw_incr_importance = 0; |
| 586 | static atomic_int g_saw_full_importance = 0; |
| 587 | static void imp_pass_sink(const char *line) { |
| 588 | if (!line || !strstr(line, "pass.timing")) { |
| 589 | return; |
| 590 | } |
| 591 | if (strstr(line, "pass=incr_importance")) { |
| 592 | atomic_fetch_add_explicit(&g_saw_incr_importance, 1, memory_order_relaxed); |
| 593 | } else if (strstr(line, "pass=importance")) { |
| 594 | atomic_fetch_add_explicit(&g_saw_full_importance, 1, memory_order_relaxed); |
| 595 | } |
| 596 | } |
| 597 | |
| 598 | /* End-to-end, on the incremental route that actually rehydrates the stored |
| 599 | * graph (LEGACY_PARTIAL — production's other incremental route, closure |
nothing calls this directly
no outgoing calls
no test coverage detected