Simulation.py (6107:52a5e1c63380) Simulation.py (6144:e330f7bc22ef)
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

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

86
87 if options.standard_switch and not options.caches:
88 m5.fatal("Error: Must specify --caches when using --standard-switch")
89
90 np = options.num_cpus
91 max_checkpoints = options.max_checkpoints
92 switch_cpus = None
93
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

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

86
87 if options.standard_switch and not options.caches:
88 m5.fatal("Error: Must specify --caches when using --standard-switch")
89
90 np = options.num_cpus
91 max_checkpoints = options.max_checkpoints
92 switch_cpus = None
93
94 if options.prog_intvl:
95 for i in xrange(np):
96 testsys.cpu[i].progress_interval = options.prog_intvl
97
94 if cpu_class:
95 switch_cpus = [cpu_class(defer_registration=True, cpu_id=(np+i))
96 for i in xrange(np)]
97
98 for i in xrange(np):
99 if options.fast_forward:
100 testsys.cpu[i].max_insts_any_thread = int(options.fast_forward)
101 switch_cpus[i].system = testsys

--- 264 unchanged lines hidden ---
98 if cpu_class:
99 switch_cpus = [cpu_class(defer_registration=True, cpu_id=(np+i))
100 for i in xrange(np)]
101
102 for i in xrange(np):
103 if options.fast_forward:
104 testsys.cpu[i].max_insts_any_thread = int(options.fast_forward)
105 switch_cpus[i].system = testsys

--- 264 unchanged lines hidden ---