Hi,

As you say the stats file displays all the results. If your image includes the m5 binary then you can reset the stats by adding to the rcS file the following line:

/sbin/m5 resetstats

Just before the call to ls. That should work.

Regards,

    Oscar

On 19/07/17 13:46, Saad Sheikh wrote:
Hello,
I am new to gem5. I ran a simple 'ls' script on full system mode using the example/fs.py file i.e. "build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/saad/arm_image/disks/linux-aarch32-ael.img --script=configs/boot/test.rcS" where test.rcS contains the command to list the current directory items. Using the stats.txt file, how to I differentiate between the results (i.e. no. of hits) caused specifically by the system call 'ls' only and those caused by the complete running system because I am assuming the that stats.txt file display all the results caused by the system from beginning to end(i.e. system startup, kernel system calls, etc..)
Thank you!


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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to