You mean "progress interval"? What do you see in the output? On 1/12/12, 马君 <[email protected]> wrote: > I've tried that but still got the same results. > Only the first interval could reveal the correct sim_insts. > > -----邮件原件----- > 发件人: [email protected] [mailto:[email protected]] 代表 > Mahmood Naderan > 发送时间: 2012年1月11日 23:48 > 收件人: gem5 users mailing list > 主题: Re: [gem5-users] How to dump stats.txt every fixed interval of > instructions in SE mode > > Maybe you have to reset stats after dump for each interval > m5.stats.reset() > > On 1/11/12, [email protected] <[email protected]> wrote: >> >> >> http://gem5.org/M5ops >> >> On Wed, 11 Jan 2012 23:44:57 +0800, 马君 wrote: >> >> Hi gem5 users: >> >> I've known how to dump stats.txt every fixed interval of ticks with: >> >> exit_event = m5.simulate() >> >> But, when I use "for" loop to dump stats.txt based on the number of >> instructions, just like: >> >> for n in range(100) >> >> for i in xrange(np): >> >> testsys.cpu[i].max_insts_any_thread = options.maxinsts >> >> exit_event = m5.simulate() >> >> m5.stats.dump() >> >> I found that only the first interval data is correct. >> >> Could anyone help me that? >> >> Jun >> >> > > > -- > -- > // Naderan *Mahmood; > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
