Thank you for your help throughout.
I am running the SPEC2000 benchmarks. As specified in the documentation I used set-spec to modify config.ini file and checked it to see it was successfully modified. Now in order to run the benchmark how do I give to the simulator the config.ini input since it takes only the *.py files.
Any help would be appreciated.
Thanks alot
Bushra
Lisa Hsu <[EMAIL PROTECTED]> wrote:
On 3/30/06, Bushra Ahsan <[EMAIL PROTECTED]> wrote:Hi,
Thank you for the help with the tests. I was able to run them now. There were some other things that I wanted to ask:
(1) Which files of the simulator are the input and where the output statistics are stored. Is it the m5stats.txt?
input files are config.ini (sort of - see the answer to your next question), and output stats are stored in m5stats.txt.
(2) If I have do the coding, will I do it in the config.ini file or the python files. Also I was confused between config.ini , objects.py and cc files. What is the difference?
m5 is object-oriented and has many object already available for you to glue together into a system model. if you want to add a new object, then you need to code in the .cc files.
right now, configuration files in the form of *.py (for full system they reside in m5/configs/fullsys, for examples of non-full system there are ones in m5-test), which Python will then parse to create a config.ini. m5 then parses this config.ini in order to know which objects to instantiate during the simulation. config.ini is currently an intermediate step that we plan to get rid of at some point. <objects>.py files are the goo that help with the transformation from <config>.py files to the config.ini file. So, if you add a new object in the .cc files, then you need an appropiate matching <object>.py file to enable this transformation, if you wnat to be able to configure from the command line.
hope that helps.
lisa
Thanks alot for the help,
Bushra
New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
