Skip to main content

plan_slot

Function plan_slot 

Source
pub fn plan_slot(slot: &Slot, share: &Share, cx: &Context) -> Option<Plan>
Expand description

slot’s best build in share, remembered across calls.

The balancing searches plan the same module in the same share many times; the key is everything a plan depends on (the component’s name and knob values, the share and the workload), so a knob change simply misses the cache.