fs.py (3393:43e1a001a7ce) | fs.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 --- 198 unchanged lines hidden (view full) --- 207 ## as argument. When you are finished with the system changes 208 ## (including switchCpus), you must resume the system manually. 209 ## You DON'T need to resume after just switching CPUs if you haven't 210 ## changed anything on the system level. 211 m5.changeToTiming(test_sys) 212 m5.switchCpus(switch_cpu_list) 213 m5.resume(test_sys) 214 | 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 --- 198 unchanged lines hidden (view full) --- 207 ## as argument. When you are finished with the system changes 208 ## (including switchCpus), you must resume the system manually. 209 ## You DON'T need to resume after just switching CPUs if you haven't 210 ## changed anything on the system level. 211 m5.changeToTiming(test_sys) 212 m5.switchCpus(switch_cpu_list) 213 m5.resume(test_sys) 214 |
215 exit_event = m5.simulate(300000000000) | 215 exit_event = m5.simulate(500000000000) |
216 m5.switchCpus(switch_cpu_list1) 217 218if options.maxtick: 219 maxtick = options.maxtick 220elif options.maxtime: 221 simtime = int(options.maxtime * root.clock.value) 222 print "simulating for: ", simtime 223 maxtick = simtime --- 56 unchanged lines hidden --- | 216 m5.switchCpus(switch_cpu_list1) 217 218if options.maxtick: 219 maxtick = options.maxtick 220elif options.maxtime: 221 simtime = int(options.maxtime * root.clock.value) 222 print "simulating for: ", simtime 223 maxtick = simtime --- 56 unchanged lines hidden --- |