In SE mode, simply create a system with multiple CPUs and assign a different workload object to each CPU's workload parameter. If you're using the O3 model, you can also assign a vector of workload objects to one CPU, in which case the CPU will run all of the workloads concurrently in SMT mode
下面是做SMT的脚本
build/X86/gem5.debug configs/example/se.py -c "mybenchmark/403/gcc_base.gcc43-64bit;mybenchmark/403/gcc_base.gcc43-64bit" -o "mybenchmark/403/g23.in;mybenchmark/403/g23.in" --cpu-type=detailed --caches --l2cache --mem-type=nvmain --nvmain-config=../zgl_nv_main/nvmain/Config/PCM_MLC_example.config > myout