hi all,

I need to get the total IPC.

I have seen this parameter in InorderCPU model : cpu/Inorder/cpu.cc :
regstats( )

have added this model in run.py as follows:

...
#if options.timing:
#    cpus = [TimingSimpleCPU(cpu_id = i,
#                            clock=options.frequency)
#            for i in xrange(options.numcpus)]
#elif options.detailed:
#    cpus = [DerivO3CPU(cpu_id = i,
#                       clock=options.frequency)
#            for i in xrange(options.numcpus)]
#else:
cpus = [InOrderCPU(cpu_id = i,
                   clock=options.frequency)
        for i in xrange(options.numcpus)]

But got aborted , the output is :

build/ALPHA_SE/m5.debug configs/splash2/run.py --rootdir
splash/splash2/codes -t --frequency 1GHz -n 4 --l1size 64kB --l2size 256kB
--l1latency 4ns --l2latency 11ns -b FMM
M5 Simulator System

Copyright (c) 2001-2008
The Regents of The University of Michigan
All Rights Reserved


M5 compiled Dec  9 2010 02:33:42
M5 revision Unknown
M5 started Dec  9 2010 03:11:29
M5 executing on sunita
command line: build/ALPHA_SE/m5.debug configs/splash2/run.py --rootdir
splash/splash2/codes -t --frequency 1GHz -n 4 --l1size 64kB --l2size 256kB
--l1latency 4ns --l2latency 11ns -b FMM
Global frequency set at 1000000000000 ticks per second

0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
0: system.remote_gdb.listener: listening for remote gdb #1 on port 7001
0: system.remote_gdb.listener: listening for remote gdb #2 on port 7002
0: system.remote_gdb.listener: listening for remote gdb #3 on port 7003
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
warn: Prefetching currently unimplemented
For more information see: http://www.m5sim.org/warn/8028fa22
warn: ignoring syscall sigprocmask(18446744073709551615, 3, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: Write Hints currently unimplemented
For more information see: http://www.m5sim.org/warn/cfb3293b
warn: ignoring syscall sigprocmask(0, 3, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 8, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 11, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 10, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 4, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 7, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 6, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 12, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 5, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
warn: ignoring syscall sigaction(4831387552, 13, ...)
For more information see: http://www.m5sim.org/warn/5c5b547f
panic: Tried to execute unmapped address 0.
 @ cycle 13488065000
[invoke:build/ALPHA_SE/arch/alpha/faults.cc, line 188]
Memory Usage: 242360 KBytes
For more information see: http://www.m5sim.org/panic/95542d88
Program aborted at cycle 13488065000
Aborted

I want to know how to go into InorderCpu model and get the statistics into
the stats.txt file
kindly help
-- 
Sunitha.P
9092892876
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to