def METHOD_NAME(parser):
    # Options for distributed simulation (i.e. dist-gem5)
    parser.add_argument(
        "--dist", action="store_true", help="Distributed gem5 simulation."
    )
    parser.add_argument(
        "--is-switch",
        action="store_true",
        help="Select the network switch simulator process for"
        " a distributed gem5 run.",
    )
    parser.add_argument(
        "--dist-rank",
        default=0,
        action="store",
        type=int,
        help="Rank of this system within the dist gem5 run.",
    )
    parser.add_argument(
        "--dist-size",
        default=0,
        action="store",
        type=int,
        help="Number of gem5 processes within the dist gem5 run.",
    )
    parser.add_argument(
        "--dist-server-name",
        default="127.0.0.1",
        action="store",
        type=str,
        help="Name of the message server host\nDEFAULT: localhost",
    )
    parser.add_argument(
        "--dist-server-port",
        default=2200,
        action="store",
        type=int,
        help="Message server listen port\nDEFAULT: 2200",
    )
    parser.add_argument(
        "--dist-sync-repeat",
        default="0us",
        action="store",
        type=str,
        help="Repeat interval for synchronisation barriers"
        " among dist-gem5 processes\nDEFAULT:"
        " --ethernet-linkdelay",
    )
    parser.add_argument(
        "--dist-sync-start",
        default="1000000000000t",
        action="store",
        type=str,
        help="Time to schedule the first dist synchronisation"
        " barrier\nDEFAULT:1000000000000t",
    )
    parser.add_argument(
        "--ethernet-linkspeed",
        default="10Gbps",
        action="store",
        type=str,
        help="Link speed in bps\nDEFAULT: 10Gbps",
    )
    parser.add_argument(
        "--ethernet-linkdelay",
        default="10us",
        action="store",
        type=str,
        help="Link delay in seconds\nDEFAULT: 10us",
    )
    parser.add_argument(
        "--etherdump",
        action="store",
        type=str,
        default="",
        help="Specify the filename to dump a pcap capture of"
        " the ethernet traffic",
    )
    # Used by util/dist/gem5-dist.sh
    parser.add_argument(
        "--checkpoint-dir",
        type=str,
        default=m5.options.outdir,
        help="Directory to save/read checkpoints",
    )