Hi Jianxin,

The XML template provided with this script is extremely out of date.
Unfortunately there isn't any XML file someone can simply send you, but the
template is a good starting point. You will need to do some dirty work and
grep through the stats in the XML file in {curly braces} and replace them
with the stats that correspond to your stats/config output.

There are too many different stats outputs to have a catch-all XML file.
Some people may use the default python scripts with checkpoints and have
*.switch_cpuX.* instead of *.cpuX.* for example. To help you out, the perl
script is a regex replacement of stats matching the replacement. For
example {stats.system.l3.writebacks::total} will be replaced with the
numeric value of system.l3.writebacks::total. Similarly, anything beginning
with config.XXX.YYY will be replaced with the YYY= value from the config
section [XXX].

Here is a more recent example for a 16-core system if it helps:
http://pastebin.com/XFXNr0Z7

Regarding any gem5+McPAT integration/patch it seems the general consensus
on the reviewboard is that McPAT should be compiled as an EXTRAS and not
integrated.

-- 
Matt Poremba
Ph.D. Candidate
354B IST Building
Pennsylvania State University
University Park, PA 16802


On Tue, Oct 29, 2013 at 12:09 AM, Jianxin Sun <[email protected]>wrote:

> Dear everyone
>
> I have been trying to used the XML file generated by m5-mcpat.pl from gem5
> generated results, config.ini and stats.txt. I search this web and went
> through some previous similar problem. But it seems this problem is not
> solved. I have the same problem of translating to a xml that Mcpat can
> accept. New gem5 cant provide the right name for this old translation.
>
> Andreas Hansson, the only hero to solve this. plz release the patch to
> finalize it...
>
> Any useful information I miss? plz help me.
>
> Thank you very much
>
> Jianxin
>
> _______________________________________________
> 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