On Mon, 23 Jul 2012, Anusha wrote:

I have added the following line in Benchmarks.py

'Blackscholes':    [SysConfig('blackscholes_sm.rcS', '512MB')],

Here is blackscholes_sm.rcS script

#!/bin/sh

# File to run the blackscholes benchmark

cd /parsec/install/bin.ckpts
/sbin/m5 dumpstats
/sbin/m5 resetstats
./blackscholes 4 /parsec/install/inputs/blackscholes/in_4K.txt
/parsec/install/inputs/blackscholes/prices.txt
echo "Done :D"
/sbin/m5 exit
/sbin/m5 exit


Well, it is still not clear to me how the simulation will get checkpointed, unless you have added the checkpoint instruction to the application it self. Also, a few hours back I realized that I had made an assumption when I had added the option --restore-with-cpu. The assumption was that if cpu-type and restore-with-cpu type are different, then restore the checkpoint with the atomic cpu. I have posted a patch to the reviewboard (reviews.gem5.org) that does away with this assumption. You might want to make use of the patch.

--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to