46a47
> from common import BPConfig
53a55,58
> def _listBPTypes(option, opt, value, parser):
> BPConfig.print_bp_list()
> sys.exit(0)
>
148a154,162
> parser.add_option("--list-bp-types",
> action="callback", callback=_listBPTypes,
> help="List available branch predictor types")
> parser.add_option("--bp-type", type="choice", default=None,
> choices=BPConfig.bp_names(),
> help = """
> type of branch predictor to run with
> (if not set, use the default branch predictor of
> the selected CPU)""")