ruby_mem_test.py (9120:48eeef8a0997) | ruby_mem_test.py (9302:c2e70a9bc340) |
---|---|
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) --- 38addToPath('../topologies') 39 40import Options 41import Ruby 42 43# Get paths we might need. It's expected this file is in m5/configs/example. 44config_path = os.path.dirname(os.path.abspath(__file__)) 45config_root = os.path.dirname(config_path) | 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) --- 38addToPath('../topologies') 39 40import Options 41import Ruby 42 43# Get paths we might need. It's expected this file is in m5/configs/example. 44config_path = os.path.dirname(os.path.abspath(__file__)) 45config_root = os.path.dirname(config_path) |
46m5_root = os.path.dirname(config_root) | |
47 48parser = optparse.OptionParser() 49Options.addCommonOptions(parser) 50 51parser.add_option("-l", "--maxloads", metavar="N", default=0, 52 help="Stop after N loads") 53parser.add_option("--progress", type="int", default=1000, 54 metavar="NLOADS", --- 131 unchanged lines hidden --- | 46 47parser = optparse.OptionParser() 48Options.addCommonOptions(parser) 49 50parser.add_option("-l", "--maxloads", metavar="N", default=0, 51 help="Stop after N loads") 52parser.add_option("--progress", type="int", default=1000, 53 metavar="NLOADS", --- 131 unchanged lines hidden --- |