rubytest-ruby.py (6928:5bd33f7c26ea) | rubytest-ruby.py (7034:6bf327b128c6) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2009 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; --- 29 unchanged lines hidden (view full) --- 38 panic("This script requires system-emulation mode (*_SE).") 39 40# Get paths we might need. It's expected this file is in m5/configs/example. 41config_path = os.path.dirname(os.path.abspath(__file__)) 42config_root = os.path.dirname(config_path) 43m5_root = os.path.dirname(config_root) 44addToPath(config_root+'/configs/common') 45addToPath(config_root+'/configs/ruby') | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2009 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; --- 29 unchanged lines hidden (view full) --- 38 panic("This script requires system-emulation mode (*_SE).") 39 40# Get paths we might need. It's expected this file is in m5/configs/example. 41config_path = os.path.dirname(os.path.abspath(__file__)) 42config_root = os.path.dirname(config_path) 43m5_root = os.path.dirname(config_root) 44addToPath(config_root+'/configs/common') 45addToPath(config_root+'/configs/ruby') |
46addToPath(config_root+'/configs/ruby/protocols') 47addToPath(config_root+'/configs/ruby/topologies') |
|
46 47import Ruby 48 49parser = optparse.OptionParser() 50 51# 52# Set the default cache size and associativity to be very small to encourage 53# races between requests and writebacks. --- 50 unchanged lines hidden --- | 48 49import Ruby 50 51parser = optparse.OptionParser() 52 53# 54# Set the default cache size and associativity to be very small to encourage 55# races between requests and writebacks. --- 50 unchanged lines hidden --- |