simple-timing-mp-ruby.py (9067:d0d9d10b3930) | simple-timing-mp-ruby.py (9113:9a72589ce4fd) |
---|---|
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 --- 24 unchanged lines hidden (view full) --- 33import os, optparse, sys 34 35# Get paths we might need 36config_path = os.path.dirname(os.path.abspath(__file__)) 37config_root = os.path.dirname(config_path) 38m5_root = os.path.dirname(config_root) 39addToPath(config_root+'/configs/common') 40addToPath(config_root+'/configs/ruby') | 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 --- 24 unchanged lines hidden (view full) --- 33import os, optparse, sys 34 35# Get paths we might need 36config_path = os.path.dirname(os.path.abspath(__file__)) 37config_root = os.path.dirname(config_path) 38m5_root = os.path.dirname(config_root) 39addToPath(config_root+'/configs/common') 40addToPath(config_root+'/configs/ruby') |
41addToPath(config_root+'/configs/topologies') |
|
41 42import Options 43import Ruby 44 45parser = optparse.OptionParser() 46Options.addCommonOptions(parser) 47 48# Add the ruby specific and protocol specific options --- 48 unchanged lines hidden --- | 42 43import Options 44import Ruby 45 46parser = optparse.OptionParser() 47Options.addCommonOptions(parser) 48 49# Add the ruby specific and protocol specific options --- 48 unchanged lines hidden --- |