Hello, I don't think there's a simple way to do this in SE mode. In FS mode, you could write a simple shell script to execute the program in a loop. One thing you can do is to modify the program to execute the ROI multiple times.
Cheers, Jason On Sun, Jan 31, 2021 at 5:20 PM ABD ALRHMAN ABO ALKHEEL via gem5-users < gem5-users@gem5.org> wrote: > Hi All, > > How to run a binary file three times on gem5? I want to find the execution > time for a binary file for 1M instructions. However, the gem5 is completed > on 400K instructions because the binary file is completed. So how I can run > it three times in order to reach 1M instructions? > > For example, If I want to run the hello world on gem5 using the following > command, the gem5 will end before reach 10k insts since hello needs only 5k > insts to finish. So ho i can run it for 3 times? > > build/X86/gem5.opt configs/example/se.py -I 10000 -c > tests/test-progs/hello/bin/x86/linux/hello --cpu-type=DerivO3CPU --caches > > Any help would be appreciated. > > Thanks > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s