Hi Zheng,
If you link your program with the m5 ops in util/m5 you
should be able to put
m5_dumpreset_stats(0,0);
__kernel();
m5_dumpreset_stats(0,0);
and that should accomplish what you want.
Ali
On 02.04.2012 09:39, Zheng Wang wrote:
> Hi,
> I wonder how I
can dump simulation s
Hi Zheng,
You can insert "m5.stats.reset()" immediately before the __kernel()
function to restart the statistics and then call "m5.stats.dump()"
following the __kernel() function to see the effect.
Tao
On 04/02/2012 09:39 AM, Zheng Wang wrote:
Hi,
I wonder how I can dump simulation statist
Hi,
I wonder how I can dump simulation statistics before and after calling a
function in the SE mode (ARM cpu).
For example, I want to collect simulation stats for executing the
__kernel() function in the following code:
int main()
{
..
__kernel();
…
}
Using m5.stats.dump() seems to only g