simple-timing-ruby.py (11670:6ce719503eae) | simple-timing-ruby.py (11682:612f75cf36a0) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 18 unchanged lines hidden (view full) --- 27# Authors: Steve Reinhardt 28 29import m5 30from m5.objects import * 31from m5.defines import buildEnv 32from m5.util import addToPath 33import os, optparse, sys 34 | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 18 unchanged lines hidden (view full) --- 27# Authors: Steve Reinhardt 28 29import m5 30from m5.objects import * 31from m5.defines import buildEnv 32from m5.util import addToPath 33import os, optparse, sys 34 |
35m5.util.addToPath('../configs/common') | |
36m5.util.addToPath('../configs/') 37 38from ruby import Ruby | 35m5.util.addToPath('../configs/') 36 37from ruby import Ruby |
39import Options | 38from common import Options |
40 41parser = optparse.OptionParser() 42Options.addCommonOptions(parser) 43 44# Add the ruby specific and protocol specific options 45Ruby.define_options(parser) 46 47(options, args) = parser.parse_args() --- 56 unchanged lines hidden --- | 39 40parser = optparse.OptionParser() 41Options.addCommonOptions(parser) 42 43# Add the ruby specific and protocol specific options 44Ruby.define_options(parser) 45 46(options, args) = parser.parse_args() --- 56 unchanged lines hidden --- |