Hi all

I'm trying to find the periodic CPI for multi threaded parsec benchmark for
every 10 million instructions executed. I added a new event to intercept
and obtain the statistics. This approach works for single threaded
benchmarks. However in case of parsec, the statistics dump is not happening
periodically after 10 million instructions.


Following is the code snippet I added in configs/common/Simulation.py:

    TEN_M = 10000000
    for i in xrange(1,450):
        for j in xrange(0,np):
                testsys.cpu[j].scheduleInstStop(0,i*TEN_M,"dump statistics")
                if(options.cpu_type != 'atomic'):

testsys.switch_cpus[j].scheduleInstStop(0,i*TEN_M,"dump statistics")


Thanks in advance.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to