Simulation.py (5370:b16ec4d7e77c) | Simulation.py (5371:dce5a8655829) |
---|---|
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 --- 66 unchanged lines hidden (view full) --- 75 elif m5.options.outdir: 76 cptdir = m5.options.outdir 77 else: 78 cptdir = getcwd() 79 80 if options.fast_forward and options.checkpoint_restore != None: 81 m5.panic("Error: Can't specify both --fast-forward and --checkpoint-restore") 82 | 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 --- 66 unchanged lines hidden (view full) --- 75 elif m5.options.outdir: 76 cptdir = m5.options.outdir 77 else: 78 cptdir = getcwd() 79 80 if options.fast_forward and options.checkpoint_restore != None: 81 m5.panic("Error: Can't specify both --fast-forward and --checkpoint-restore") 82 |
83 if options.standard_switch and not cpu_class: 84 m5.panic("Error: Must specify CPU to switch to for --standard-switch (almost always detailed (-d))") | 83 if options.standard_switch and not options.caches: 84 m5.panic("Error: Must specify --caches when using --standard-switch") |
85 86 np = options.num_cpus 87 max_checkpoints = options.max_checkpoints 88 switch_cpus = None 89 90 if cpu_class: 91 switch_cpus = [cpu_class(defer_registration=True, cpu_id=(np+i)) 92 for i in xrange(np)] --- 270 unchanged lines hidden --- | 85 86 np = options.num_cpus 87 max_checkpoints = options.max_checkpoints 88 switch_cpus = None 89 90 if cpu_class: 91 switch_cpus = [cpu_class(defer_registration=True, cpu_id=(np+i)) 92 for i in xrange(np)] --- 270 unchanged lines hidden --- |