Add InlineTimingEndWithBudget.

This will do nothing if the total elapsed time is less than b.
Otherwise, it will log all the timings.