Options.py (6641:59f08019c39a) Options.py (6769:630a3d0b7eb7)
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 48 unchanged lines hidden (view full) ---

57# CPU Switching - default switch model goes from a checkpoint
58# to a timing simple CPU with caches to warm up, then to detailed CPU for
59# data measurement
60parser.add_option("-s", "--standard-switch", action="store_true",
61 help="switch from timing CPU to Detailed CPU")
62parser.add_option("-w", "--warmup", action="store", type="int",
63 help="if -s, then this is the warmup period. else, this is ignored",
64 default=5000000000)
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 48 unchanged lines hidden (view full) ---

57# CPU Switching - default switch model goes from a checkpoint
58# to a timing simple CPU with caches to warm up, then to detailed CPU for
59# data measurement
60parser.add_option("-s", "--standard-switch", action="store_true",
61 help="switch from timing CPU to Detailed CPU")
62parser.add_option("-w", "--warmup", action="store", type="int",
63 help="if -s, then this is the warmup period. else, this is ignored",
64 default=5000000000)
65parser.add_option("--profile", help="CPU profile interval")
65
66# Fastforwarding and simpoint related materials
67parser.add_option("-W", "--warmup-insts", action="store", type="int",
68 default=None,
69 help="Warmup period in total instructions (requires --standard-switch)")
70parser.add_option("-I", "--max-inst", action="store", type="int", default=None,
71 help="Total number of instructions to simulate (default: run forever)")
72parser.add_option("--bench", action="store", type="string", default=None,
73 help="base names for --take-checkpoint and --checkpoint-restore")
74parser.add_option("-F", "--fast-forward", action="store", type="string",
75 default=None,
76 help="Number of instructions to fast forward before switching")
77parser.add_option("-S", "--simpoint", action="store_true", default=False,
78 help="""Use workload simpoints as an instruction offset for
79--checkpoint-restore or --take-checkpoint.""")
80parser.add_option("--at-instruction", action="store_true", default=False,
81 help="""Treate value of --checkpoint-restore or --take-checkpoint as a
82number of instructions.""")
66
67# Fastforwarding and simpoint related materials
68parser.add_option("-W", "--warmup-insts", action="store", type="int",
69 default=None,
70 help="Warmup period in total instructions (requires --standard-switch)")
71parser.add_option("-I", "--max-inst", action="store", type="int", default=None,
72 help="Total number of instructions to simulate (default: run forever)")
73parser.add_option("--bench", action="store", type="string", default=None,
74 help="base names for --take-checkpoint and --checkpoint-restore")
75parser.add_option("-F", "--fast-forward", action="store", type="string",
76 default=None,
77 help="Number of instructions to fast forward before switching")
78parser.add_option("-S", "--simpoint", action="store_true", default=False,
79 help="""Use workload simpoints as an instruction offset for
80--checkpoint-restore or --take-checkpoint.""")
81parser.add_option("--at-instruction", action="store_true", default=False,
82 help="""Treate value of --checkpoint-restore or --take-checkpoint as a
83number of instructions.""")