Simulation.py (5185:d970c1ec39c9) | Simulation.py (5211:f7412cfae319) |
---|---|
1# Copyright (c) 2006-2007 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 --- 58 unchanged lines hidden (view full) --- 67 simtime = m5.ticks.seconds(simtime) 68 print "simulating for: ", simtime 69 maxtick = simtime 70 else: 71 maxtick = m5.MaxTick 72 73 if options.checkpoint_dir: 74 cptdir = options.checkpoint_dir | 1# Copyright (c) 2006-2007 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 --- 58 unchanged lines hidden (view full) --- 67 simtime = m5.ticks.seconds(simtime) 68 print "simulating for: ", simtime 69 maxtick = simtime 70 else: 71 maxtick = m5.MaxTick 72 73 if options.checkpoint_dir: 74 cptdir = options.checkpoint_dir |
75 elif m5.options.outdir: 76 cptdir = m5.options.outdir |
|
75 else: 76 cptdir = getcwd() 77 78 np = options.num_cpus 79 max_checkpoints = options.max_checkpoints 80 switch_cpus = None 81 82 if cpu_class: --- 147 unchanged lines hidden --- | 77 else: 78 cptdir = getcwd() 79 80 np = options.num_cpus 81 max_checkpoints = options.max_checkpoints 82 switch_cpus = None 83 84 if cpu_class: --- 147 unchanged lines hidden --- |