Hi, everyone,
This is part of my simulation.py configuration. From this setting:
“ elif options.simpoint:
if testsys.cpu[i].workload[0].simpoint == 0:
m5.panic('simpoint not found')
testsys.cpu[i].max_insts_any_thread = \
testsys.cpu[i].workload[0].simpoint
”,
it seems all the threads in a core only take the simpoint of thread 0 in a
core. But I want to set each thread their independant simpoints, how can I set
it?
/** part of the Simulation.py code **/
for i in xrange(np):
……
# if restoring, make atomic cpu simulate only a few instructions
if options.checkpoint_restore != None:
testsys.cpu[i].max_insts_any_thread = 1
# Fast forward to specified location if we are not restoring
elif options.fast_forward:
testsys.cpu[i].max_insts_any_thread = int(options.fast_forward)
# Fast forward to a simpoint (warning: time consuming)
elif options.simpoint:
if testsys.cpu[i].workload[0].simpoint == 0:
m5.panic('simpoint not found')
testsys.cpu[i].max_insts_any_thread = \
testsys.cpu[i].workload[0].simpoint
………
/** part of the Simulation.py code **/
Thank you very much in advance
York
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users