ruby_mem_test.py (9909:0679c3554ba3) ruby_mem_test.py (10083:2beea2a439b4)
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;

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

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)
46
47parser = optparse.OptionParser()
48Options.addCommonOptions(parser)
49
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;

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

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)
46
47parser = optparse.OptionParser()
48Options.addCommonOptions(parser)
49
50parser.add_option("-l", "--maxloads", metavar="N", default=0,
50parser.add_option("--maxloads", metavar="N", default=0,
51 help="Stop after N loads")
52parser.add_option("--progress", type="int", default=1000,
53 metavar="NLOADS",
54 help="Progress message interval "
55 "[default: %default]")
56parser.add_option("--num-dmas", type="int", default=0, help="# of dma testers")
57parser.add_option("--functional", type="int", default=0,
58 help="percentage of accesses that should be functional")

--- 136 unchanged lines hidden ---
51 help="Stop after N loads")
52parser.add_option("--progress", type="int", default=1000,
53 metavar="NLOADS",
54 help="Progress message interval "
55 "[default: %default]")
56parser.add_option("--num-dmas", type="int", default=0, help="# of dma testers")
57parser.add_option("--functional", type="int", default=0,
58 help="percentage of accesses that should be functional")

--- 136 unchanged lines hidden ---