measure
public static LuaExecutionBudget.Measurement<T> measure<T>(Supplier<T> call, long maxCpuNanos, long maxInstructions)
Runs source initialization and its hook under one existing VM watchdog. The caller may pass the remaining allowance of a cross-provider batch. Nested engine calls share it. Elapsed usage is charged at least at one fifth, matching the existing fallback allowance. This also bounds clocks whose CPU resolution is coarser than an individual invocation.