ruby_random_test.py (11682:612f75cf36a0) ruby_random_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;

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

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)
45m5_root = os.path.dirname(config_root)
46
47parser = 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;

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

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)
45m5_root = os.path.dirname(config_root)
46
47parser = optparse.OptionParser()
48Options.addCommonOptions(parser)
48Options.addNoISAOptions(parser)
49
50parser.add_option("--maxloads", metavar="N", default=100,
51 help="Stop after N loads")
52parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
53 help="Wakeup every N cycles")
54
55#
56# Add the ruby specific and protocol specific options

--- 103 unchanged lines hidden ---
49
50parser.add_option("--maxloads", metavar="N", default=100,
51 help="Stop after N loads")
52parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
53 help="Wakeup every N cycles")
54
55#
56# Add the ruby specific and protocol specific options

--- 103 unchanged lines hidden ---