On 20.02.2013 16:55, Umesh Bhaskar wrote: 

> Hi all, 
> 
> I am
trying to understand the various stats available in the stats.txt file
for the Hello World binary under O3 configuration. 
> Specifically, I am
looking at the folder
<gem5_path>/tests/quick/se/00.hello/ref/arm/linux/o3-timing. 
> 
> Here
the total committed instruction count is mentioned as 
> 
>
system.cpu.commit.committedInsts 4591 # Number of instructions committed

> system.cpu.commit.committedOps 5729 # Number of ops (including micro
ops) committed 
> 
> with the other stats listed below. 
> 
>
system.cpu.commit.swp_count 0 # Number of s/w prefetches committed 
>
system.cpu.commit.refs 2138 # Number of memory references committed 
>
system.cpu.commit.loads 1200 # Number of loads committed 
>
system.cpu.commit.membars 12 # Number of memory barriers committed 
>
system.cpu.commit.branches 1007 # Number of branches committed 
>
system.cpu.commit.fp_insts 16 # Number of committed floating point
instructions. 
> system.cpu.commit.int_insts 4976 # Number of committed
integer instructions. 
> system.cpu.commit.function_calls 82 # Number of
function calls committed. 
> system.cpu.commit.bw_lim_events 119 #
number cycles where commit BW limit reached 
> 
> Now, to calculate the
final instruction count, I would calculate the following sum : int_insts
+ fp_insts + branches + refs = 4976+16+1007+2138 = 8137, which does not
match either committedInsts or committedOps. 
> Am I missing something
here ? 
> 
> Thanks, 
> Umesh 
> 
>
_______________________________________________
> gem5-users mailing
list
> gem5-users@gem5.org
>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]

The flags
aren't mutually exclusive. int_insts is any instruction that accesses an
integer register and fp_insts is any instruction that accesses an fp
register. Most load instructions are going to be integer operations.


Ali 

 

Links:
------
[1]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to