# FELUCCA target cost budget (tests/target_budget.py): instructions in the loops of each
# function in build/felucca.dis, x4 per nesting level, divides x9. The check allows +10 %.
# Rewritten by BUDGET_UPDATE=1.
# SLOOP 2.0 (reviewed): analog +9 % (drive crossfade, phase reset), lofi +4 % (input clamp), slicer on
# the sample-accurate clock (its divides are per step / per block, not per sample: the per-sample
# loop has none), the mix out of the ISR into its own function (fm1_alnk0_irq calls it).
# SLOOP 2.4: FM6 (fm6_op_run, fm6_op_fb: the per-sample operator loops; fm6_render: the voice's output loop)
# are in FUNCS without a budget yet: the engine was ported on a host without the pi32v2 toolchain; the
# next ./build.sh + BUDGET_UPDATE=1 adds their lines (until then they print "no budget", not a failure).
analog_render 638
digital_render 333
phase_render 79
lofi_render 128
sample_render 126
formant_render 314
trio_render 341
trio_pass 175
drawbar_render 267
drawbar_block 102
grain_render 1734
grain_block 138
slicer_track 825
drums_mix 6153
fm1_alnk0_irq 174
