gem5/tests/quick/se/40.m5threads-test-atomic/test.py

6 lines
201 B
Python
Raw Normal View History

process = LiveProcess(executable = binpath('m5threads', 'test_atomic'),
cmd = ['test_atomic', str(nb_cores)])
for i in range(nb_cores):
root.system.cpu[i].workload = process