/gem5/ext/ply/test/ |
H A D | lex_state5.py | 5 import sys 6 if ".." not in sys.path: sys.path.insert(0,"..")
|
H A D | lex_state_noerror.py | 5 import sys 6 if ".." not in sys.path: sys.path.insert(0,"..")
|
H A D | lex_state_norule.py | 5 import sys 6 if ".." not in sys.path: sys.path.insert(0,"..")
|
H A D | testyacc.py | 9 import sys 12 sys.path.insert(0,"..") 13 sys.tracebacklimit = 0 37 del sys.modules[module] 42 sys.stderr = StringIO.StringIO() 43 sys.stdout = StringIO.StringIO() 51 sys.stderr = sys.__stderr__ 52 sys.stdout = sys [all...] |
H A D | testlex.py | 9 import sys 10 sys.path.insert(0,"..") 11 sys.tracebacklimit = 0 16 if sys.version_info[0] >= 3: 36 del sys.modules[module] 41 sys.stderr = StringIO.StringIO() 42 sys.stdout = StringIO.StringIO() 44 sys.stderr = sys.__stderr__ 45 sys [all...] |
/gem5/util/m5/ |
H A D | m5_mmap.c | 46 #include <sys/mman.h> 47 #include <sys/stat.h> 48 #include <sys/types.h>
|
/gem5/util/ |
H A D | memtest-soak.py | 42 import sys 59 sys.exit(1) 68 sys.exit(1)
|
H A D | git-pre-commit.py | 43 import sys 98 print >> sys.stderr 99 print >> sys.stderr, "Style checker failed for the following files:" 102 print >> sys.stderr, "\t%s" % f 103 print >> sys.stderr 104 print >> sys.stderr, \ 108 print >> sys.stderr 110 print >> sys.stderr, \ 114 print >> sys.stderr, "\t%s" % f 115 print >> sys [all...] |
H A D | encode_packet_trace.py | 57 import sys 84 if len(sys.argv) != 3: 85 print "Usage: ", sys.argv[0], " <ASCII input> <protobuf output>" 89 ascii_in = open(sys.argv[1], 'r') 91 print "Failed to open ", sys.argv[1], " for reading" 95 proto_out = open(sys.argv[2], 'wb') 97 print "Failed to open ", sys.argv[2], " for writing" 106 header.obj_id = "Converted ASCII trace " + sys.argv[1]
|
H A D | decode_packet_trace.py | 46 import sys 54 if len(sys.argv) != 3: 55 print "Usage: ", sys.argv[0], " <protobuf input> <ASCII output>" 59 proto_in = protolib.openFileRd(sys.argv[1]) 62 ascii_out = open(sys.argv[2], 'w') 64 print "Failed to open ", sys.argv[2], " for writing" 71 print "Unrecognized file", sys.argv[1]
|
H A D | decode_inst_trace.py | 49 import sys 74 if len(sys.argv) != 3: 75 print "Usage: ", sys.argv[0], " <protobuf input> <ASCII output>" 79 proto_in = protolib.openFileRd(sys.argv[1]) 82 ascii_out = open(sys.argv[2], 'w') 84 print "Failed to open ", sys.argv[2], " for writing" 91 print "Unrecognized file", sys.argv[1]
|
H A D | regress | 30 import sys 36 progname = os.path.basename(sys.argv[0]) 102 print >>sys.stderr, "Child was terminated by signal", -retcode 103 print >>sys.stderr, "When attemping to execute: %s" % cmd 104 sys.exit(1) 106 print >>sys.stderr, "Child returned", retcode 107 print >>sys.stderr, "When attemping to execute: %s" % cmd 108 sys.exit(1) 110 print >>sys.stderr, "Execution failed:", e 111 print >>sys [all...] |
/gem5/src/arch/arm/linux/ |
H A D | linux.cc | 47 #include <sys/mman.h>
|
/gem5/src/arch/x86/linux/ |
H A D | linux.cc | 43 #include <sys/mman.h>
|
/gem5/src/arch/riscv/linux/ |
H A D | linux.cc | 34 #include <sys/mman.h>
|
/gem5/tests/ |
H A D | main.py | 10 import sys 16 sys.path.insert(0, base_dir) 17 sys.path.insert(0, ext_path) 24 sys.exit(testlib())
|
/gem5/configs/boot/ |
H A D | netperf-maerts-client.rcS | 9 echo "0" > /proc/sys/net/ipv4/tcp_timestamps 10 echo "0" > /proc/sys/net/ipv4/tcp_sack 11 echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem 12 echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem 13 echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem 14 echo "262143" > /proc/sys/net/core/rmem_max 15 echo "262143" > /proc/sys/net/core/wmem_max 16 echo "262143" > /proc/sys/net/core/rmem_default 17 echo "262143" > /proc/sys/net/core/wmem_default 18 echo "262143" > /proc/sys/ne [all...] |
H A D | natbox-spec-surge.rcS | 11 echo "0" > /proc/sys/net/ipv4/tcp_timestamps 12 echo "0" > /proc/sys/net/ipv4/tcp_sack 13 echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid 14 echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max 15 echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem 16 echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem 17 echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem 18 echo "262143" > /proc/sys/net/core/rmem_max 19 echo "262143" > /proc/sys/net/core/wmem_max 20 echo "262143" > /proc/sys/ne [all...] |
/gem5/src/cpu/ |
H A D | intr_control_noisa.cc | 37 : SimObject(p), sys(p->sys)
|
/gem5/site_scons/gem5_scons/ |
H A D | util.py | 41 import sys 49 return SCons.Script.GetOption('ignore_style') or not sys.stdin.isatty()
|
/gem5/site_scons/ |
H A D | site_init.py | 73 sys.path[1:1] = extra_python_paths
|
/gem5/ext/googletest/googlemock/scripts/generator/ |
H A D | gmock_gen.py | 22 import sys 26 sys.path.append(os.path.dirname(__file__))
|
/gem5/ext/ply/example/BASIC/ |
H A D | basic.py | 4 import sys 5 sys.path.insert(0,"../..") 7 if sys.version_info[0] >= 3: 17 if len(sys.argv) == 2: 18 data = open(sys.argv[1]).read()
|
/gem5/src/unittest/ |
H A D | genini.py | 32 import getopt, os, os.path, sys 35 mypath = sys.path[0] 36 sys.path.append(joinpath(mypath, '..')) 37 sys.path.append(joinpath(mypath, '../python')) 38 sys.path.append(joinpath(mypath, '../util/pbs')) 45 opts, args = getopt.getopt(sys.argv[1:], '-E:I:') 60 sys.exit('Improper Usage')
|
/gem5/tests/legacy-configs/ |
H A D | run.py | 39 import sys 48 sys.path.insert(0, abspath(joinpath(dirname(__file__), '../../configs'))) 91 def initCPUs(sys): 101 if not hasattr(sys, "cpu"): 105 if isinstance(sys.cpu, list): 106 [ initCPU(cpu) for cpu in sys.cpu ] 108 initCPU(sys.cpu)
|