Hi Naresh,

See inline.

On Thu, May 5, 2011 at 4:57 AM, naresh bs <[email protected]> wrote:

>
> Hii all,
>
> I am using Marsx86 to simulate full system microarchitecture on my system.
> I had used M5 earlier
> so I had some queries regarding these. In M5 when I am running simulations
> and if I want to change
> any simualation parameters I could have done at the command line but as far
> as I see it in Mars I can
> specify all the simulation parameters in a txt file and then implement the
> same. But I wanted to know
> what are the parameters which can be used and in what format. An example
> would be helpful.
>

You can also change the simulation parameters on the command line, but it's
often easier to just throw them into a simconfig file. I just put one option
per line in a text file, such as:

-stats run11.stats
-logfile run11.log
-corefreq 3200000000
-cache-config-type shared_L2

For a list of the options, you can look at ptlsim/sim/ptlsim.cpp around line
196, that should have a full listing of the options.



>
> Also where are the statistical information stored. According to the ptlsim
> manual it is being stored in some
> counters but it would be helpful if you could tell me how I could access it
> as I need to make some changes
> later on.I need to know where the statistic information is collected. Is
> there one location where all are collected,
> or are there several files/classes/functiones where this happens.
>

Yes, the stats system is sort of spread out all over the place. The stats
system that was brought over from PTLSim was is quite ... esoteric. I think
Avadh and company are working on making the stats collection more straight
forward.

You can try looking at ptlsim/stats/stats.h (this is the old stats, I
believe), but the actual definition of what stats are where are sort of
spread out. For example, take a look at ptlsim/cache/memoryStats.h:74

Avadh or Furat could probably answer this question better than I can.


>
> Regards
> --
> Naresh.B.S
> Handy:017621672380
> email: [email protected]
>
> Graduate Student
> Sensor Systems  Technology
> Karlsruhe University of Applied Sciences
> Moltkestraße 30
> 76133 Karlsruhe
> Germany
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to