def profile_configs(binary_path: PathLike, configs: Iterable['Config'], baseline_config: 'Config', progress_bar: bool=True, profile_filename: str='profile_info.txt', qos_filename: str='final_accuracy') -> None:
    'Profile a sequence of HPVM configs.\n    This function modifies argument `configs` in place.'
    from tqdm import tqdm
    (baseline_time, baseline_acc) = measure_config(binary_path, baseline_config)
    iterable = (tqdm(configs, desc='Configs profiled') if progress_bar else configs)
    for config in iterable:
        (time, acc) = measure_config(binary_path, config, profile_filename, qos_filename)
        speedup = (baseline_time / time)
        config.update_profile_results(speedup, acc, baseline_acc)
    return configs
Profile a sequence of HPVM configs.
This function modifies argument `configs` in place.
def profile_configs(binary_path: PathLike, configs: Iterable['Config'], baseline_config: 'Config', progress_bar: bool=True, profile_filename: str='profile_info.txt', qos_filename: str='final_accuracy') -> None:
    'Profile a sequence of HPVM configs.\n    This function modifies argument `configs` in place.'
    from tqdm import tqdm
    (baseline_time, baseline_acc) = measure_config(binary_path, baseline_config)
    iterable = (tqdm(configs, desc='Configs profiled') if progress_bar else configs)
    for config in iterable:
        (time, acc) = measure_config(binary_path, config, profile_filename, qos_filename)
        speedup = (baseline_time / time)
        config.update_profile_results(speedup, acc, baseline_acc)
    return configs