updateFrameBudget method

void updateFrameBudget(
  1. int budgetUs
)

Sets the frame budget the VM leg judges against. Called by SleuthController whenever the resolved frame budget changes.

Implementation

void updateFrameBudget(int budgetUs) {
  if (budgetUs <= 0) return;
  _frameBudgetUs = budgetUs;
}