summaryrefslogtreecommitdiff
path: root/tests/quick/se/40.m5threads-test-atomic/test.py
blob: f0110d5ea1d9f0bfc4ad92240c8d101dcbfdd22c (plain)
1
2
3
4
5
process = Process(executable = binpath('m5threads', 'test_atomic'),
                  cmd = ['test_atomic', str(nb_cores)])

for i in range(nb_cores):
    root.system.cpu[i].workload = process