ruby_mem_test.py (11682:612f75cf36a0) ruby_mem_test.py (11688:725fef71f376)
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;

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

39from common import Options
40from ruby import Ruby
41
42# Get paths we might need. It's expected this file is in m5/configs/example.
43config_path = os.path.dirname(os.path.abspath(__file__))
44config_root = os.path.dirname(config_path)
45
46parser = optparse.OptionParser()
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;

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

39from common import Options
40from ruby import Ruby
41
42# Get paths we might need. It's expected this file is in m5/configs/example.
43config_path = os.path.dirname(os.path.abspath(__file__))
44config_root = os.path.dirname(config_path)
45
46parser = optparse.OptionParser()
47Options.addCommonOptions(parser)
47Options.addNoISAOptions(parser)
48
49parser.add_option("--maxloads", metavar="N", default=0,
50 help="Stop after N loads")
51parser.add_option("--progress", type="int", default=1000,
52 metavar="NLOADS",
53 help="Progress message interval "
54 "[default: %default]")
55parser.add_option("--num-dmas", type="int", default=0, help="# of dma testers")

--- 131 unchanged lines hidden ---
48
49parser.add_option("--maxloads", metavar="N", default=0,
50 help="Stop after N loads")
51parser.add_option("--progress", type="int", default=1000,
52 metavar="NLOADS",
53 help="Progress message interval "
54 "[default: %default]")
55parser.add_option("--num-dmas", type="int", default=0, help="# of dma testers")

--- 131 unchanged lines hidden ---