This commit is contained in:
Carlos Gutierrez
2025-10-05 00:34:27 -04:00
parent 61045f67a5
commit 388df18f41

View File

@@ -49,10 +49,8 @@ process = Process()
process.executable = args.cmd
process.cmd = [args.cmd]
# Create Linux workload and set the executable
system.cpu.workload = SEWorkload.init_compatible("hello")
system.cpu.workload.executable = args.cmd
system.cpu.workload.cmd = [args.cmd]
# Assign workload to CPU
system.cpu.workload = process
system.cpu.createThreads()
# Create root and run simulation