Simulation.py (6776:463aab78c057) | Simulation.py (7489:26cd0ad262d0) |
---|---|
1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 278 unchanged lines hidden (view full) --- 287 (testsys.switch_cpus_1[0].max_insts_any_thread) 288 m5.drain(testsys) 289 m5.switchCpus(switch_cpu_list1) 290 m5.resume(testsys) 291 292 num_checkpoints = 0 293 exit_cause = '' 294 | 1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 278 unchanged lines hidden (view full) --- 287 (testsys.switch_cpus_1[0].max_insts_any_thread) 288 m5.drain(testsys) 289 m5.switchCpus(switch_cpu_list1) 290 m5.resume(testsys) 291 292 num_checkpoints = 0 293 exit_cause = '' 294 |
295 # If we're taking and restoring checkpoints, use checkpoint_dir 296 # option only for finding the checkpoints to restore from. This 297 # lets us test checkpointing by restoring from one set of 298 # checkpoints, generating a second set, and then comparing them. 299 if options.take_checkpoints and options.checkpoint_restore: 300 if m5.options.outdir: 301 cptdir = m5.options.outdir 302 else: 303 cptdir = getcwd() 304 |
|
295 # Checkpoints being taken via the command line at <when> and at 296 # subsequent periods of <period>. Checkpoint instructions 297 # received from the benchmark running are ignored and skipped in 298 # favor of command line checkpoint instructions. 299 if options.take_checkpoints != None : 300 if options.at_instruction or options.simpoint: 301 checkpoint_inst = int(options.take_checkpoints) 302 --- 77 unchanged lines hidden --- | 305 # Checkpoints being taken via the command line at <when> and at 306 # subsequent periods of <period>. Checkpoint instructions 307 # received from the benchmark running are ignored and skipped in 308 # favor of command line checkpoint instructions. 309 if options.take_checkpoints != None : 310 if options.at_instruction or options.simpoint: 311 checkpoint_inst = int(options.take_checkpoints) 312 --- 77 unchanged lines hidden --- |