Set cpu_id params (required by ll/sc code now).
--HG-- extra : convert_revision : e0f7ccbeccca191a8edb54494d2b4f9369e9914c
This commit is contained in:
@@ -77,6 +77,8 @@ else:
|
||||
|
||||
cpu.clock = '2GHz'
|
||||
cpu2.clock = '2GHz'
|
||||
cpu.cpu_id = 0
|
||||
cpu2.cpu_id = 0
|
||||
|
||||
if options.benchmark:
|
||||
if options.benchmark not in Benchmarks:
|
||||
|
||||
@@ -91,6 +91,7 @@ else:
|
||||
cpu = AtomicSimpleCPU()
|
||||
|
||||
cpu.workload = process
|
||||
cpu.cpu_id = 0
|
||||
|
||||
system = System(cpu = cpu,
|
||||
physmem = PhysicalMemory(),
|
||||
|
||||
Reference in New Issue
Block a user