Mettle

caller-over-budgetThe calling function is over its budget and this site is cold

Reported by --explain after a verdict.

mettle explain caller-over-budget

The caller has grown past the point where more inlining pays, and this particular call site is neither inside a loop nor measured hot. It runs at most once per call of the caller, so leaving it a real call costs nothing you can measure.

Sites exempt from this rule, and so still inlined: calls inside loops, sites measured hot under --pgo, tiny call-free callees, and callees marked @inline.

There is deliberately no fix advice. For a cold one-shot site, not inlining is the right answer.

Related