Simulation.py (5211:f7412cfae319) Simulation.py (5311:9ed42a2315ae)
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

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

86 for i in xrange(np)]
87
88 for i in xrange(np):
89 switch_cpus[i].system = testsys
90 if not m5.build_env['FULL_SYSTEM']:
91 switch_cpus[i].workload = testsys.cpu[i].workload
92 switch_cpus[i].clock = testsys.cpu[0].clock
93
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

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

86 for i in xrange(np)]
87
88 for i in xrange(np):
89 switch_cpus[i].system = testsys
90 if not m5.build_env['FULL_SYSTEM']:
91 switch_cpus[i].workload = testsys.cpu[i].workload
92 switch_cpus[i].clock = testsys.cpu[0].clock
93
94 root.switch_cpus = switch_cpus
94 testsys.switch_cpus = switch_cpus
95 switch_cpu_list = [(testsys.cpu[i], switch_cpus[i]) for i in xrange(np)]
96
97 if options.standard_switch:
98 switch_cpus = [TimingSimpleCPU(defer_registration=True, cpu_id=(np+i))
99 for i in xrange(np)]
100 switch_cpus_1 = [DerivO3CPU(defer_registration=True, cpu_id=(2*np+i))
101 for i in xrange(np)]
102

--- 129 unchanged lines hidden ---
95 switch_cpu_list = [(testsys.cpu[i], switch_cpus[i]) for i in xrange(np)]
96
97 if options.standard_switch:
98 switch_cpus = [TimingSimpleCPU(defer_registration=True, cpu_id=(np+i))
99 for i in xrange(np)]
100 switch_cpus_1 = [DerivO3CPU(defer_registration=True, cpu_id=(2*np+i))
101 for i in xrange(np)]
102

--- 129 unchanged lines hidden ---