Skip to main content

knob_inventory

Function knob_inventory 

Source
pub(crate) fn knob_inventory(
    repo_root: &Path,
    package: &str,
    profile: &str,
) -> String
Expand description

Assemble the scheduler-agnostic knob inventory the knob-phase model tunes from: the binary’s --help (every option, its default, and - for enums - its possible values, rendered by clap). This needs no per-scheduler hand-maintenance, works for any scheds/rust/<package> crate, and can never go stale relative to the options the scheduler actually exposes.