Thanks for your reply. I see some information about the memory controllers
in config.ini, but I needed to know if there is any data member for the
memory controller class who can be used as the identifier and I could print
it out.

So, this is how I solved the problem: I realized that the input argument
that is being passed to the memory controller class constructor, is of type
"Params" which has a data member called "version" which keeps the
identifier of the controller. So, I am using this to identify the
memory controller.

Mahshid


On Fri, Aug 17, 2012 at 12:39 AM, Hossein Nikoonia <[email protected]>wrote:

> I think their name in m5out/config.ini that is the same as the ones in
> m5out/stats.text or ruby.stats should do it for you
>
> On Aug 17, 2012, at 2:31 AM, Mahshid Sedghi wrote:
>
> > Hello all,
> >
> > I need to print out the identifier of the memory controller module in
> order to distinguish the statistics for different memory controller modules
> in the system. As far as I know, memory controller class in Gems has a data
> member named "m_version" which keeps an ID for the memory controller. But,
> in Gem5 I couldn't find a similar thing. I tried "m_description", but it's
> not want I need. Could you help me with this?
> >
> > Thanks,
> > Mahshid
> > _______________________________________________
> > 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
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to