Simulation.py (8311:7b42aba8e5f2) Simulation.py (8318:3f37cc5d25bc)
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# Copyright (c) 2010 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

91
92 if options.standard_switch and not options.caches:
93 fatal("Must specify --caches when using --standard-switch")
94
95 np = options.num_cpus
96 max_checkpoints = options.max_checkpoints
97 switch_cpus = None
98
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# Copyright (c) 2010 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

91
92 if options.standard_switch and not options.caches:
93 fatal("Must specify --caches when using --standard-switch")
94
95 np = options.num_cpus
96 max_checkpoints = options.max_checkpoints
97 switch_cpus = None
98
99 if options.prog_intvl:
99 if options.prog_interval:
100 for i in xrange(np):
101 testsys.cpu[i].progress_interval = options.prog_interval
102
103 if options.maxinsts:
104 for i in xrange(np):
105 testsys.cpu[i].max_insts_any_thread = options.maxinsts
106
107 if cpu_class:

--- 267 unchanged lines hidden ---
100 for i in xrange(np):
101 testsys.cpu[i].progress_interval = options.prog_interval
102
103 if options.maxinsts:
104 for i in xrange(np):
105 testsys.cpu[i].max_insts_any_thread = options.maxinsts
106
107 if cpu_class:

--- 267 unchanged lines hidden ---