Hi Sascha,

I added "from m5.internal.stats import periodicStatDump as statDump" to fs.py, 
however while building gem5, it gives me the following error:

can not import name periodicStatDump

I can not find the definition of "periodStatDump" function in any of the python 
files. I would appreciate if you could help me with this.

Thanks,
Shervin


Message: 1
Date: Mon, 8 Oct 2012 12:03:35 +0100
From: Sascha Bischoff <sascha.bisch...@arm.com>
To: gem5-users@gem5.org
Subject: Re: [gem5-users] dump stats for every N cycles
Message-ID: <5072b307.1060...@arm.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed

Hi Shervin,

You want to add the following to one of your python files (fs.py, se.py
are good choices):

from m5.internal.stats import periodicStatDump as statDump
# Specify the period in Ticks
statDump(1000000000)

I hope that helps,

Sascha

*************************************
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to