fs.py (3143:76c70c8bc5c8) | fs.py (3180:664fe611de8e) |
---|---|
1# Copyright (c) 2006 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 --- 63 unchanged lines hidden (view full) --- 72 mem_mode = 'timing' 73else: 74 cpu = AtomicSimpleCPU() 75 cpu2 = AtomicSimpleCPU() 76 mem_mode = 'atomic' 77 78cpu.clock = '2GHz' 79cpu2.clock = '2GHz' | 1# Copyright (c) 2006 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 --- 63 unchanged lines hidden (view full) --- 72 mem_mode = 'timing' 73else: 74 cpu = AtomicSimpleCPU() 75 cpu2 = AtomicSimpleCPU() 76 mem_mode = 'atomic' 77 78cpu.clock = '2GHz' 79cpu2.clock = '2GHz' |
80cpu.cpu_id = 0 81cpu2.cpu_id = 0 |
|
80 81if options.benchmark: 82 if options.benchmark not in Benchmarks: 83 print "Error benchmark %s has not been defined." % options.benchmark 84 print "Valid benchmarks are: %s" % DefinedBenchmarks 85 sys.exit(1) 86 87 bm = Benchmarks[options.benchmark] --- 51 unchanged lines hidden --- | 82 83if options.benchmark: 84 if options.benchmark not in Benchmarks: 85 print "Error benchmark %s has not been defined." % options.benchmark 86 print "Valid benchmarks are: %s" % DefinedBenchmarks 87 sys.exit(1) 88 89 bm = Benchmarks[options.benchmark] --- 51 unchanged lines hidden --- |