pc-simple-timing-ruby.py (11670:6ce719503eae) pc-simple-timing-ruby.py (11682:612f75cf36a0)
1# Copyright (c) 2012 Mark D. Hill and David A. Wood
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

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

23# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27# Authors: Nilay Vaish
28
29import m5, os, optparse, sys
30from m5.objects import *
1# Copyright (c) 2012 Mark D. Hill and David A. Wood
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

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

23# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27# Authors: Nilay Vaish
28
29import m5, os, optparse, sys
30from m5.objects import *
31m5.util.addToPath('../configs/common')
32from Benchmarks import SysConfig
33import FSConfig
34
35m5.util.addToPath('../configs/')
31m5.util.addToPath('../configs/')
32from common.Benchmarks import SysConfig
33from common import FSConfig
36from ruby import Ruby
34from ruby import Ruby
37import Options
35from common import Options
38
39# Add the ruby specific and protocol specific options
40parser = optparse.OptionParser()
41Options.addCommonOptions(parser)
42Ruby.define_options(parser)
43(options, args) = parser.parse_args()
44
45# Set the default cache size and associativity to be very small to encourage

--- 49 unchanged lines hidden ---
36
37# Add the ruby specific and protocol specific options
38parser = optparse.OptionParser()
39Options.addCommonOptions(parser)
40Ruby.define_options(parser)
41(options, args) = parser.parse_args()
42
43# Set the default cache size and associativity to be very small to encourage

--- 49 unchanged lines hidden ---