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 give simulation stats for the whole
program execution.

Do I have to use a special instruction to trigger the python script?

Cheers,
Zheng
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to