Options.py (8976:73b178a5d564) Options.py (9151:a4faa7dde56c)
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

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

99 default="atomic", choices = ["atomic", "timing",
100 "detailed", "inorder"],
101 help = "cpu type for restoring from a checkpoint")
102
103
104 # CPU Switching - default switch model goes from a checkpoint
105 # to a timing simple CPU with caches to warm up, then to detailed CPU for
106 # data measurement
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

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

99 default="atomic", choices = ["atomic", "timing",
100 "detailed", "inorder"],
101 help = "cpu type for restoring from a checkpoint")
102
103
104 # CPU Switching - default switch model goes from a checkpoint
105 # to a timing simple CPU with caches to warm up, then to detailed CPU for
106 # data measurement
107 parser.add_option("-s", "--standard-switch", action="store_true",
108 help="switch from timing CPU to Detailed CPU")
109 parser.add_option("-w", "--warmup", action="store", type="int",
110 help="if -s, then this is the warmup period. else, this is ignored",
111 default=5000000000)
107 parser.add_option("--repeat-switch", action="store", type="int",
108 default=None,
109 help="switch back and forth between CPUs with period <N>")
110 parser.add_option("-s", "--standard-switch", action="store", type="int",
111 default=None,
112 help="switch from timing to Detailed CPU after warmup period of <N>")
112 parser.add_option("-p", "--prog-interval", type="int",
113 help="CPU Progress Interval")
114
115 # Fastforwarding and simpoint related materials
116 parser.add_option("-W", "--warmup-insts", action="store", type="int",
117 default=None,
118 help="Warmup period in total instructions (requires --standard-switch)")
119 parser.add_option("--bench", action="store", type="string", default=None,

--- 62 unchanged lines hidden ---
113 parser.add_option("-p", "--prog-interval", type="int",
114 help="CPU Progress Interval")
115
116 # Fastforwarding and simpoint related materials
117 parser.add_option("-W", "--warmup-insts", action="store", type="int",
118 default=None,
119 help="Warmup period in total instructions (requires --standard-switch)")
120 parser.add_option("--bench", action="store", type="string", default=None,

--- 62 unchanged lines hidden ---