Simulation.py (10608:427f988fe6e5) Simulation.py (10757:8a4040874157)
1# Copyright (c) 2012-2013 ARM Limited
2# All rights reserved
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 567 unchanged lines hidden (view full) ---

576 if options.take_simpoint_checkpoints != None:
577 simpoints, interval_length = parseSimpointAnalysisFile(options, testsys)
578
579 checkpoint_dir = None
580 if options.checkpoint_restore:
581 cpt_starttick, checkpoint_dir = findCptDir(options, cptdir, testsys)
582 m5.instantiate(checkpoint_dir)
583
1# Copyright (c) 2012-2013 ARM Limited
2# All rights reserved
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 567 unchanged lines hidden (view full) ---

576 if options.take_simpoint_checkpoints != None:
577 simpoints, interval_length = parseSimpointAnalysisFile(options, testsys)
578
579 checkpoint_dir = None
580 if options.checkpoint_restore:
581 cpt_starttick, checkpoint_dir = findCptDir(options, cptdir, testsys)
582 m5.instantiate(checkpoint_dir)
583
584 # Initialization is complete. If we're not in control of simulation
585 # (that is, if we're a slave simulator acting as a component in another
586 # 'master' simulator) then we're done here. The other simulator will
587 # call simulate() directly. --initialize-only is used to indicate this.
588 if options.initialize_only:
589 return
590
584 # Handle the max tick settings now that tick frequency was resolved
585 # during system instantiation
586 # NOTE: the maxtick variable here is in absolute ticks, so it must
587 # include any simulated ticks before a checkpoint
588 explicit_maxticks = 0
589 maxtick_from_abs = m5.MaxTick
590 maxtick_from_rel = m5.MaxTick
591 maxtick_from_maxtime = m5.MaxTick

--- 103 unchanged lines hidden ---
591 # Handle the max tick settings now that tick frequency was resolved
592 # during system instantiation
593 # NOTE: the maxtick variable here is in absolute ticks, so it must
594 # include any simulated ticks before a checkpoint
595 explicit_maxticks = 0
596 maxtick_from_abs = m5.MaxTick
597 maxtick_from_rel = m5.MaxTick
598 maxtick_from_maxtime = m5.MaxTick

--- 103 unchanged lines hidden ---