Simulation.py (4167:ce5d0f62f13b) Simulation.py (5072:ff0e3c84a1de)
1# Copyright (c) 2006-2007 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

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

161 ## changed anything on the system level.
162
163 m5.changeToTiming(testsys)
164 m5.switchCpus(switch_cpu_list)
165 m5.resume(testsys)
166
167 if options.standard_switch:
168 exit_event = m5.simulate(options.warmup)
1# Copyright (c) 2006-2007 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

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

161 ## changed anything on the system level.
162
163 m5.changeToTiming(testsys)
164 m5.switchCpus(switch_cpu_list)
165 m5.resume(testsys)
166
167 if options.standard_switch:
168 exit_event = m5.simulate(options.warmup)
169 m5.drain(testsys)
169 m5.switchCpus(switch_cpu_list1)
170 m5.switchCpus(switch_cpu_list1)
171 m5.resume(testsys)
170
171 num_checkpoints = 0
172 exit_cause = ''
173
174 ## Checkpoints being taken via the command line at <when> and at subsequent
175 ## periods of <period>. Checkpoint instructions received from the benchmark running
176 ## are ignored and skipped in favor of command line checkpoint instructions.
177 if options.take_checkpoints:

--- 50 unchanged lines hidden ---
172
173 num_checkpoints = 0
174 exit_cause = ''
175
176 ## Checkpoints being taken via the command line at <when> and at subsequent
177 ## periods of <period>. Checkpoint instructions received from the benchmark running
178 ## are ignored and skipped in favor of command line checkpoint instructions.
179 if options.take_checkpoints:

--- 50 unchanged lines hidden ---