configs,tests: Update configs to use compatible SE workloads.

If there's no more compatible workload than the base SEWorkload class it
will fall back to that for now.

Change-Id: Id27172c3074a7976823a891878ab9eecf6246c47
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33901
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2020-08-31 23:00:27 -07:00
parent 14bdba8c66
commit b489e49c68
13 changed files with 21 additions and 18 deletions

View File

@@ -89,8 +89,6 @@ thispath = os.path.dirname(os.path.realpath(__file__))
binary = os.path.join(thispath, '../../../', 'tests/test-progs/threads/bin/',
isa, 'linux/threads')
system.workload = SEWorkload()
# Create a process for a simple "multi-threaded" application
process = Process()
# Set the command
@@ -101,6 +99,8 @@ for cpu in system.cpu:
cpu.workload = process
cpu.createThreads()
system.workload = SEWorkload.init_compatible(binary)
# Set up the pseudo file system for the threads function above
config_filesystem(system)