The intention is that if you want to regularly vary parameters that aren't already exposed as command-line parameters, you should add command-line parameters that allow you to do that. Then you can compile a single binary and use a single config script and run your experiments just by changing the command lines. Note that you can change class parameters after your configuration is built (i.e., after the Python objects are instantiated) as long as you do it before m5.instantiate() is called to create the C++ objects.
Steve On Thu, Apr 12, 2012 at 1:36 PM, Kirtika Ruchandani <[email protected]>wrote: > I was referring to the configs/common/ directory :). > From some previous experiments, I can see that the O3_ARM_v7a.py from > configs/common is being used. I just need multiple copies of this file with > different values for certain components. > Regards, > Kirtika > > > > On Fri, Apr 13, 2012 at 1:59 AM, Gabe Black <[email protected]> wrote: > >> ** >> You're not supposed to configure gem5 by changing the parameters in the >> src/ directory. You're supposed to write or use scripts from configs/ which >> instantiate the components of your simulation and configure instances of >> them there. The values in src/ are just the defaults. >> >> Gabe >> >> >> On 04/12/12 13:22, Kirtika Ruchandani wrote: >> >> Hi, >> I am trying to run multiple simulations simultaneously, and would like to >> do so out of the same gem5 folder. However, my CPU configuration differs in >> each simulation (prefetcher properties, branch predictors etc). Whats the >> best way to achieve this? >> I am considering making multiple copies of O3_ARM_v7a.py and tweaking >> the parameters I need to, one at a time. Only CacheConfig.py and >> Simulation.py seem to be using the O3_ARM_v7a.py and it would be easy to >> amend both these files (add more options similar to "arm_detailed" for >> cpu-type). >> Regards, >> Kirtika >> >> >> _______________________________________________ >> gem5-users mailing >> [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 >> > > > > -- > -- > Kirtika Ruchandani > Final Year, Integrated BTech/MTech, > Comp. Sci & Engg, IIT Madras > > > > _______________________________________________ > 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
