updating
This commit is contained in:
@@ -49,10 +49,8 @@ process = Process()
|
|||||||
process.executable = args.cmd
|
process.executable = args.cmd
|
||||||
process.cmd = [args.cmd]
|
process.cmd = [args.cmd]
|
||||||
|
|
||||||
# Create Linux workload and set the executable
|
# Assign workload to CPU
|
||||||
system.cpu.workload = SEWorkload.init_compatible("hello")
|
system.cpu.workload = process
|
||||||
system.cpu.workload.executable = args.cmd
|
|
||||||
system.cpu.workload.cmd = [args.cmd]
|
|
||||||
system.cpu.createThreads()
|
system.cpu.createThreads()
|
||||||
|
|
||||||
# Create root and run simulation
|
# Create root and run simulation
|
||||||
|
|||||||
Reference in New Issue
Block a user