simple-timing-ruby.py (8801:1a84c6a81299) | simple-timing-ruby.py (8802:ef66a9083bc4) |
---|---|
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 |
35if buildEnv['FULL_SYSTEM']: 36 panic("This script requires system-emulation mode (*_SE).") 37 | |
38# Get paths we might need 39config_path = os.path.dirname(os.path.abspath(__file__)) 40config_root = os.path.dirname(config_path) 41m5_root = os.path.dirname(config_root) 42addToPath(config_root+'/configs/common') 43addToPath(config_root+'/configs/ruby') 44 45import Ruby --- 53 unchanged lines hidden --- | 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') 41 42import Ruby --- 53 unchanged lines hidden --- |