Lines Matching refs:maxtick
209 def scriptCheckpoints(options, maxtick, cptdir):
253 if (sim_ticks + period) > maxtick:
254 exit_event = m5.simulate(maxtick - sim_ticks)
269 def benchCheckpoints(options, maxtick, cptdir):
270 exit_event = m5.simulate(maxtick - m5.curTick())
283 exit_event = m5.simulate(maxtick - m5.curTick())
413 def repeatSwitch(testsys, repeat_switch_cpu_list, maxtick, switch_freq):
429 if (maxtick - m5.curTick()) <= switch_freq:
430 exit_event = m5.simulate(maxtick - m5.curTick())
626 # NOTE: the maxtick variable here is in absolute ticks, so it must
653 maxtick = min([maxtick_from_abs, maxtick_from_rel, maxtick_from_maxtime])
655 if options.checkpoint_restore != None and maxtick < cpt_starttick:
656 fatal("Bad maxtick (%d) specified: " \
657 "Checkpoint starts starts from tick: %d", maxtick, cpt_starttick)
706 exit_event = scriptCheckpoints(options, maxtick, cptdir)
723 if options.repeat_switch and maxtick > options.repeat_switch:
725 maxtick, options.repeat_switch)
727 exit_event = benchCheckpoints(options, maxtick, cptdir)