Searched refs:sys (Results 76 - 100 of 445) sorted by relevance

1234567891011>>

/gem5/ext/ply/test/
H A Dlex_state5.py5 import sys
6 if ".." not in sys.path: sys.path.insert(0,"..")
H A Dlex_state_noerror.py5 import sys
6 if ".." not in sys.path: sys.path.insert(0,"..")
H A Dlex_state_norule.py5 import sys
6 if ".." not in sys.path: sys.path.insert(0,"..")
H A Dtestyacc.py9 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 Dtestlex.py9 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 Dm5_mmap.c46 #include <sys/mman.h>
47 #include <sys/stat.h>
48 #include <sys/types.h>
/gem5/util/
H A Dmemtest-soak.py42 import sys
59 sys.exit(1)
68 sys.exit(1)
H A Dgit-pre-commit.py43 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 Dencode_packet_trace.py57 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 Ddecode_packet_trace.py46 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 Ddecode_inst_trace.py49 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 Dregress30 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 Dlinux.cc47 #include <sys/mman.h>
/gem5/src/arch/x86/linux/
H A Dlinux.cc43 #include <sys/mman.h>
/gem5/src/arch/riscv/linux/
H A Dlinux.cc34 #include <sys/mman.h>
/gem5/tests/
H A Dmain.py10 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 Dnetperf-maerts-client.rcS9 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 Dnatbox-spec-surge.rcS11 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 Dintr_control_noisa.cc37 : SimObject(p), sys(p->sys)
/gem5/site_scons/gem5_scons/
H A Dutil.py41 import sys
49 return SCons.Script.GetOption('ignore_style') or not sys.stdin.isatty()
/gem5/site_scons/
H A Dsite_init.py73 sys.path[1:1] = extra_python_paths
/gem5/ext/googletest/googlemock/scripts/generator/
H A Dgmock_gen.py22 import sys
26 sys.path.append(os.path.dirname(__file__))
/gem5/ext/ply/example/BASIC/
H A Dbasic.py4 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 Dgenini.py32 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 Drun.py39 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)

Completed in 15 milliseconds

1234567891011>>