Searched refs:sys (Results 151 - 175 of 445) sorted by relevance

1234567891011>>

/gem5/ext/ply/test/
H A Dyacc_uprec2.py6 import sys
8 if ".." not in sys.path: sys.path.insert(0,"..")
/gem5/util/statetrace/arch/i686/
H A Dtracechild.hh34 #include <sys/ptrace.h>
35 #include <sys/types.h>
36 #include <sys/user.h>
/gem5/util/
H A Dgen_arm_fs_files.py37 import sys
42 sys.stdout.flush()
55 sys.exit(1)
57 script_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
82 sys.exit(1)
86 sys.exit(1)
90 sys.exit(1)
94 sys.exit(1)
100 sys.exit(1)
106 sys
[all...]
H A Ddecode_inst_dep_trace.py93 import sys
113 if len(sys.argv) != 3:
114 print "Usage: ", sys.argv[0], " <protobuf input> <ASCII output>"
118 proto_in = protolib.openFileRd(sys.argv[1])
121 ascii_out = open(sys.argv[2], 'w')
123 print "Failed to open ", sys.argv[2], " for writing"
H A Doprofile-top.py34 import sys
54 (opts, files) = getopt.getopt(sys.argv[1:], 'i')
56 print "usage", sys.argv[0], "[-i] <files>"
57 sys.exit(2)
H A Dencode_inst_dep_trace.py93 import sys
115 if len(sys.argv) != 3:
116 print "Usage: ", sys.argv[0], " <ASCII input> <protobuf output>"
120 proto_out = open(sys.argv[2], 'wb')
124 ascii_in = open(sys.argv[1], 'r')
126 print "Failed to open ", sys.argv[1], " for reading"
135 header.obj_id = "Converted ASCII trace " + sys.argv[1]
H A Dcompile30 import os, re, sys
74 print >>sys.stderr, \
76 sys.exit(1)
78 sys.path = [ scons_dirs[0][1] ] + sys.path
87 progname = sys.argv[0]
175 sys.exit(exitcode)
225 sys.exit("must specify at least one mode")
254 sys.exit("must specify at least one valid combination of ISA and mode")
273 sys
[all...]
H A Dstyle.py41 import sys
76 print >> sys.stderr, "Error: Failed to detect repository type, no " \
78 sys.exit(1)
80 print >> sys.stderr, "Error: Detected multiple repository types."
81 sys.exit(1)
146 sys.exit(1)
H A Dqdo40 import sys
48 progname = os.path.basename(sys.argv[0])
71 print >>sys.stderr, "%s: missing command" % progname
72 sys.exit(1)
87 print >>sys.stderr, "Error: current directory must be under /n/poolfs."
88 sys.exit(1)
104 sys.exit(1)
112 print >>sys.stderr, "%s: oarsub timed out." % progname
115 sys.exit(1)
217 print >>sys
[all...]
/gem5/ext/ply/example/hedit/
H A Dhedit.py17 import sys
18 sys.path.insert(0,"../..")
/gem5/ext/pybind11/pybind11/
H A D__main__.py4 import sys
30 if not sys.argv[1:]:
/gem5/util/systemc/systemc_within_gem5/systemc_sc_main/
H A Dconfig.py30 import sys
69 sys.exit(int(result.code))
/gem5/src/python/m5/util/
H A D__init__.py46 import sys
61 print('panic:', fmt % args, file=sys.stderr)
62 sys.exit(1)
68 print('fatal:', fmt % args, file=sys.stderr)
69 sys.exit(1)
75 print('warn:', fmt % args, file=sys.stderr)
80 print('info:', fmt % args, file=sys.stdout)
97 if not os.path.isabs(path) and sys.path[0]:
98 path = os.path.join(sys.path[0], path)
100 # sys
[all...]
/gem5/util/plot_dram/
H A Ddram_sweep_plot.py49 import sys
58 if len(sys.argv) != 3:
59 print "Usage: ", sys.argv[0], "-u|p|e <simout directory>"
62 if len(sys.argv[1]) != 2 or sys.argv[1][0] != '-' or \
63 not sys.argv[1][1] in "upe":
70 mode = sys.argv[1][1]
73 stats = open(sys.argv[2] + '/stats.txt', 'r')
75 print "Failed to open ", sys.argv[2] + '/stats.txt', " for reading"
79 simout = open(sys
[all...]
/gem5/ext/libelf/
H A Dlibelf.c27 #include <sys/param.h>
/gem5/src/cpu/
H A Dintr_control.hh45 System *sys; member in class:IntrControl
/gem5/ext/testlib/
H A Dsandbox.py32 import sys
45 _stdin = sys.stdin
48 sys.stdin = open('/dev/stdin')
51 sys.stdin = _stdin
80 self.old_stderr = os.dup(sys.stderr.fileno())
81 self.old_stdout = os.dup(sys.stdout.fileno())
83 os.dup2(self.stderr_wp, sys.stderr.fileno())
84 sys.stderr = os.fdopen(self.stderr_wp, 'w', 0)
85 os.dup2(self.stdout_wp, sys.stdout.fileno())
86 sys
[all...]
/gem5/ext/googletest/googletest/scripts/
H A Drelease_docs.py68 import sys
95 sys.exit('This script must be run in a gtest or gmock SVN workspace.')
149 if len(sys.argv) != 2:
150 sys.exit(__doc__)
152 brancher = WikiBrancher(sys.argv[1])
H A Dfuse_gtest_files.py67 import sys
100 sys.exit(1)
127 answer = sys.stdin.readline().strip()
130 sys.exit(1)
240 argc = len(sys.argv)
243 FuseGTest(DEFAULT_GTEST_ROOT_DIR, sys.argv[1])
246 FuseGTest(sys.argv[1], sys.argv[2])
249 sys.exit(1)
H A Dupload_gtest.py43 import sys
59 for arg in sys.argv[1:]:
/gem5/src/base/
H A Dcp_annotate.hh104 void hwBegin(flags f, System *sys, uint64_t frame, std::string sm, argument
106 void hwQ(flags f, System *sys, uint64_t frame, std::string sm, argument
109 void hwDq(flags f, System *sys, uint64_t frame, std::string sm, argument
112 void hwPq(flags f, System *sys, uint64_t frame, std::string sm, argument
115 void hwRq(flags f, System *sys, uint64_t frame, std::string sm, argument
118 void hwWf(flags f, System *sys, uint64_t frame, std::string sm, argument
121 void hwWe(flags f, System *sys, uint64_t frame, std::string sm, argument
305 void doDq(System *sys, int flags, int cpu, int sm, std::string q, int qi,
307 void doQ(System *sys, int flags, int cpu, int sm, std::string q, int qi,
310 void doSwSmEnd(System *sys, in
[all...]
/gem5/ext/googletest/googlemock/scripts/
H A Dupload_gmock.py43 import sys
59 for arg in sys.argv[1:]:
/gem5/ext/googletest/googlemock/test/
H A Dgmock_test_utils.py37 import sys
50 sys.path.append(GTEST_TESTS_UTIL_DIR)
/gem5/configs/common/
H A DHWPConfig.py38 import sys
64 sys.exit(1)
/gem5/site_scons/site_tools/
H A Dmercurial.py43 import sys
104 sys.exit(1)
132 sys.exit(1)
140 sys.exit(1)

Completed in 22 milliseconds

1234567891011>>