Hi,

I am assuming you want to filter out the insts used to boot the kernel
from inflating the stats numbers you get from your binary.

If so, you should be able to use the m5 psuedo insts switchcpu,
dumpstats, resetstats in your rcS script file.

E.g.
cd location of binary on diskimage
/sbin/m5 switchcpu
/sbin/m5 dumpstats
/sbin/m5 resetstats
./alpha_binary
/sbin/m5 exit
/sbin/m5 exit

I use the switchcpu command because I run the linux boot using the
atomic model, and then switch to the detailed model.

If you do not want to fastfwd, or switch between cpu models, then just
use dumpstats/resetstats.

When using the switchcpu, followed by dumo.reset, the output stats
file will have the kernel stats on the first set of stat dumps,
followed by another set of stats, of which these correspond to the
application.

Malek


On Mon, Oct 25, 2010 at 12:54 AM, George Tz. <[email protected]> wrote:
> I have been searching for that and though I am not quite sure if it is the
> best way, I believe you can do it by checking the IPR_ICM register.
> Please someone correct me if I am wrong.
>
> George Tziantzioulis
>
> On Mon, Oct 25, 2010 at 7:19 AM, Lide Duan <[email protected]> wrote:
>>
>> Hi,
>>
>> I am wondering if there is anyway to distinguish application instructions
>> from Linux OS instructions in ALPHA_FS mode?
>>
>> Thanks,
>> Lide
>>
>> _______________________________________________
>> m5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to