Hello,
An approximate way is to checkpoint the begining of the benchmarck ("m5
checkpoint" in the .rcS before calling the bench), then restore with -F
(fast-forward) or -W (warm-up).
If you need the switch in a very precise point in the bench, you can try to
restore with -F 999999999999 and insert a "m5_exit(0);" in your bench
source code to switch from Atomic to O3.
Regards,
--
Fernando A. Endo, Post-doc
INRIA Rennes-Bretagne Atlantique
France
2016-04-27 12:23 GMT+02:00 Abhishek Rajgadia <[email protected]>:
> Dear All,
> I want to fastforward and then execute(maxinsts) certain number of
> instructions for my benchmark in FS mode.
> When I pass these options to gem5, I think it includes instructions used
> to boot linux and exits after maxinsts.
> What should I do to apply fastforward and maxinsts for my benchmark(not
> for linux instructions).?
>
> --
> Regards,
> Abhishek Rajgadia
> Electrical Engineering,
> IIT Bombay
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users