Surya Narayanan <surya.narayanan <at> inria.fr> writes:
> > am still stuck with this issue without knowing where to change in the C++ code… > if using --prog_interval 10000 i can see11615000000: Event_70: system.cpu progress event, total committed:23229999, progress insts committed: 10000, IPC: 111620000000: Event_70: system.cpu progress event, total committed:23239999, progress insts committed: 10000, IPC: 111625000000: Event_70: system.cpu progress event, total committed:23249999, progress insts committed: 10000, IPC: 111630000000: Event_70: system.cpu progress event, total committed:23259999, progress insts committed: 10000, IPC: 1 > > am not sure how to get progress interval w.r.t instruction count…I need it as i want to analyze the stats w.r.t number of instructions and not w.r.t ticks…! > > > > On 26 janv. 2012, at 15:12, Surya Narayanan wrote: > Hello, I have been trying to get help for this for quiet sometime now. > > I wish to get the stats w.r.t instruction count and not w.r.t ticks….for example we have the --prog_interval which gives the stats at every regular tick intervals. we can use a loop to get the whole stat dump multiple times for every interval by doing > > print "**** REAL SIMULATION ****" > for i in range(20) :m5.simulate(1000) m5.stats.dump() m5.stats.reset() > > we have only 1 option to get the stats w.r.t instruction count i,e -- maxinsts…. I am not able to find out a way how can i loop it some how to make it behave like --prog_interval to get regular interval stats w.r.t instruction count. > > I also want to know where is the parameter "testsys.cpu[i].max_insts_any_thread = options.maxinsts" passed from here for further processing? > > > > > > > > > _______________________________________________ > gem5-users mailing list > gem5-users <at> gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users I am facing the same problem. Were you able to figure out a way to dump stats wrt instruction count? _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users