Date: Tue, 21 May 2013 16:26:16 +0200
From: Andreas Sandberg andr...@sandberg.pp.se
mailto:andr...@sandberg.pp.se
To: gem5 users mailing list gem5-users@gem5.org
mailto:gem5-users@gem5.org
Subject: Re: [gem5-users] Dumping stats every period of fixed number
ofinstructions
Message-ID
Hi Shervin,
On 07/25/2013 09:36 PM, shervin hajiamini wrote:
I want to dump the statistics periodically based on the fixed number
of instructions. I already followed the following post:
http://www.mail-archive.com/gem5-users@gem5.org/msg07544.html
+0200
From: Andreas Sandberg andr...@sandberg.pp.se
To: gem5 users mailing list gem5-users@gem5.org
Subject: Re: [gem5-users] Dumping stats every period of fixed number
of instructions
Message-ID: 519b8408.7000...@sandberg.pp.se
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Shervin,
you can dump stats in the Simulation.py file by calling
m5.stats.dump(). I'm not sure how you can dump stats for fixed number
of instructions (it's easier to do that based on time intervals), but
you can create checkpoints at specific instruction numbers with the
option
Hi Shervin,
Negar is right in that there is currently no good way of stopping the
simulator every N instructions to dump statistics. I needed to do the
same thing some time ago and added support for it in my local 'fixes'
branch of gem5 [1]. The changeset you want is [2]. I haven't pushed the
Hi all,
I want to dump stats.txt every fixed interval of
instructions. There are already some posted messages in the mailing list about
using “testsys.cpu[i].max_insts_any_thread = options.maxinsts” in Simulation.py.
I have tested those suggestions but they don’t seem to work.
Can anybody