On Thu, May 5, 2011 at 1: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.
>
> 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.
>
> All the stats are collected in 'PTLStats' structure defined in
'stats/stats.h' file. Memory stats are included in this structure which is
defined in 'cache/memoryStats.h' file. To add a new counter, add counter to
this structure, or add a new 'struct' within it. To update your counters,
look at examples within cache and core how they are updated. Because Marss
collects separate stats for user mode and kernel mode, use the macros
provided in those files.

In future release we are planning to remove this old stats structure and use
more dynamic statistics collection framework. The framework is implemented
and available in 'core-models' branch. I will write a page in marss-wiki
about this new stats framework before the release.

- Avadh

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