Lines Matching refs:parser
55 def addOptions(parser):
57 parser.add_argument("--dist", action="store_true", help="Distributed gem5"\
59 parser.add_argument("--is-switch", action="store_true",
62 parser.add_argument("--dist-rank", default=0, action="store", type=int,
64 parser.add_argument("--dist-size", default=0, action="store", type=int,
67 parser.add_argument("--dist-server-name",
72 parser.add_argument("--dist-server-port",
76 parser.add_argument("--dist-sync-repeat",
82 parser.add_argument("--dist-sync-start",
87 parser.add_argument("--ethernet-linkspeed", default="10Gbps",
90 parser.add_argument("--ethernet-linkdelay", default="10us",
93 parser.add_argument("--etherdump", action="store", type=str, default="",
97 parser.add_argument("--checkpoint-dir", type=str,
124 parser = argparse.ArgumentParser(
127 bL.addOptions(parser)
128 addOptions(parser)
129 options = parser.parse_args()