se.py (3323:ca667530b8a0) se.py (3394:0a6b4a7a6df6)
1# Copyright (c) 2006 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

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

201 ## as argument. When you are finished with the system changes
202 ## (including switchCpus), you must resume the system manually.
203 ## You DON'T need to resume after just switching CPUs if you haven't
204 ## changed anything on the system level.
205 m5.changeToTiming(system)
206 m5.switchCpus(switch_cpu_list)
207 m5.resume(system)
208
1# Copyright (c) 2006 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

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

201 ## as argument. When you are finished with the system changes
202 ## (including switchCpus), you must resume the system manually.
203 ## You DON'T need to resume after just switching CPUs if you haven't
204 ## changed anything on the system level.
205 m5.changeToTiming(system)
206 m5.switchCpus(switch_cpu_list)
207 m5.resume(system)
208
209 exit_event = m5.simulate(3000000)
209 exit_event = m5.simulate(500000000000)
210 m5.switchCpus(switch_cpu_list1)
211
212if options.maxtick:
213 maxtick = options.maxtick
214elif options.maxtime:
215 simtime = int(options.maxtime * root.clock.value)
216 print "simulating for: ", simtime
217 maxtick = simtime

--- 58 unchanged lines hidden ---
210 m5.switchCpus(switch_cpu_list1)
211
212if options.maxtick:
213 maxtick = options.maxtick
214elif options.maxtime:
215 simtime = int(options.maxtime * root.clock.value)
216 print "simulating for: ", simtime
217 maxtick = simtime

--- 58 unchanged lines hidden ---