Searched refs:self (Results 226 - 250 of 275) sorted by relevance

1234567891011

/gem5/src/dev/arm/
H A DSMMUv3.py175 def generateDeviceTree(self, state):
176 reg_addr = self.reg_map.start
177 reg_size = self.reg_map.size()
185 node.appendPhandle(self)
188 def connect(self, device, bus):
196 self.master = bus.slave
197 self.control = bus.master
209 self.slave_interfaces.append(slave_interface)
213 device._iommu = self
/gem5/ext/googletest/googletest/test/
H A Dgtest_env_var_test.py84 def testEnvVarAffectsFlag(self):
102 def testXmlOutputFile(self):
109 def testXmlOutputFileOverride(self):
H A Dgtest_uninitialized_test.py65 def testExitCodeAndOutput(self):
H A Dgtest_output_test.py260 def RemoveUnsupportedTests(self, test_output):
279 def testOutput(self):
298 self.assertEqual(normalized_golden, normalized_actual,
307 RemoveTestCounts(self.RemoveUnsupportedTests(normalized_golden)))
320 self.assertEqual(normalized_golden, normalized_actual)
/gem5/src/python/m5/util/
H A Dterminal.py85 def __init__(self, cap_string):
87 setattr(self, c, cap_string('setaf', i))
89 setattr(self, name, cap_string(cap))
/gem5/ext/ply/example/GardenSnake/
H A DGardenSnake.py317 def __init__(self, debug=0, optimize=0, lextab='lextab', reflags=0):
318 self.lexer = lex.lex(debug=debug, optimize=optimize, lextab=lextab, reflags=reflags)
319 self.token_stream = None
320 def input(self, s, add_endmarker=True):
321 self.lexer.paren_count = 0
322 self.lexer.input(s)
323 self.token_stream = filter(self.lexer, add_endmarker)
324 def token(self):
326 return self
[all...]
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dtokenize.py74 def __init__(self, token_type, name, start, end):
75 self.token_type = token_type
76 self.name = name
77 self.start = start
78 self.end = end
79 self.whence = WHENCE_STREAM
81 def __str__(self):
83 return 'Token(%r)' % self.name
84 return 'Token(%r, %s, %s)' % (self.name, self
[all...]
/gem5/util/batch/
H A Dsend.py221 def __init__(self, host='pbs.pool', port=24465):
222 self.host = host
223 self.port = port
224 self.socket = None
226 def setname(self, jobid, jobname):
238 if self.socket is None:
240 self.socket = socket.socket()
244 self.socket.connect((self.host, self
[all...]
/gem5/util/pbs/
H A Dsend.py222 def __init__(self, host='pbs.pool', port=24465):
223 self.host = host
224 self.port = port
225 self.socket = None
227 def setname(self, jobid, jobname):
239 if self.socket is None:
241 self.socket = socket.socket()
245 self.socket.connect((self.host, self
[all...]
/gem5/util/streamline/
H A Dm5stats2streamline.py175 def __init__(self, uid, pid, tgid, task_name, is_process, tick):
177 self.uid = 0
179 self.uid = 0
181 self.uid = uid
182 self.pid = pid
183 self.tgid = tgid
184 self.is_process = is_process
185 self.task_name = task_name
186 self.children = []
187 self
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock_output_test.py157 def testOutput(self):
164 self.assertEquals(golden, output)
168 self.assertEquals(['GMockOutputTest.CatchesLeakedMocks',
/gem5/util/maint/
H A Dshow_changes_by_file.py41 def __init__(self, default_factory=None, *args, **kwargs):
42 super(OrderedDefaultDict, self).__init__(*args, **kwargs)
43 self.default_factory = default_factory
/gem5/src/sim/
H A DRoot.py57 def path(self):
/gem5/src/cpu/kvm/
H A DBaseKvmCPU.py51 def dump(self):
/gem5/src/cpu/trace/
H A DTraceCPU.py58 def addPMU(self, pmu = None):
/gem5/src/systemc/core/
H A DSystemC.py66 def getPort(self, if_name, iex):
/gem5/ext/pybind11/tests/
H A Dtest_gil_scoped.py23 def virtual_func(self):
26 def pure_virtual_func(self):
H A Dtest_pytypes.py79 def __str__(self):
82 def __repr__(self):
143 def func(self, x, *args):
144 return self.basic_attr + x + sum(args)
240 def __init__(self, value):
241 self.value = value
243 def __hash__(self):
244 return self.value
H A Dtest_factory_constructors.py80 1. __init__(self: m.factory_constructors.TestFactory1, arg0: m.factory_constructors.tag.unique_ptr_tag, arg1: int) -> None
82 2. __init__(self: m.factory_constructors.TestFactory1, arg0: str) -> None
84 3. __init__(self: m.factory_constructors.TestFactory1, arg0: m.factory_constructors.tag.pointer_tag) -> None
86 4. __init__(self: m.factory_constructors.TestFactory1, arg0: handle, arg1: int, arg2: handle) -> None
172 def __init__(self, *args):
173 m.TestFactory6.__init__(self, *args)
175 def get(self):
176 return -5 + m.TestFactory6.get(self)
214 def get(self):
215 return 100 + TestFactory7.get(self)
[all...]
/gem5/ext/dsent/
H A Dinterface.cc84 dsent_initialize(PyObject *self, PyObject *arg) argument
99 dsent_finalize(PyObject *self, PyObject *args) argument
109 dsent_computeRouterPowerAndArea(PyObject *self, PyObject *args) argument
177 dsent_computeLinkPower(PyObject *self, PyObject *arg) argument
211 dsent_printAvailableModels(PyObject* self, PyObject *args) argument
/gem5/configs/topologies/
H A DMesh_XY.py49 def __init__(self, controllers):
50 self.nodes = controllers
55 def makeTopology(self, options, network, IntLink, ExtLink, Router):
56 nodes = self.nodes
181 def registerTopology(self, options):
H A DMesh_westfirst.py51 def __init__(self, controllers):
52 self.nodes = controllers
57 def makeTopology(self, options, network, IntLink, ExtLink, Router):
58 nodes = self.nodes
/gem5/ext/testlib/
H A Dterminal.py84 def __init__(self, cap_string):
86 setattr(self, c, cap_string('setaf', i))
88 setattr(self, name, cap_string(cap))
/gem5/ext/pybind11/tools/
H A Dmkdoc.py217 def __init__(self, filename, parameters, output):
218 Thread.__init__(self)
219 self.filename = filename
220 self.parameters = parameters
221 self.output = output
224 def run(self):
225 print('Processing "%s" ..' % self.filename, file=sys.stderr)
229 tu = index.parse(self.filename, self.parameters)
230 extract(self
[all...]
/gem5/configs/example/arm/
H A Dfs_bigLITTLE.py86 def __init__(self, system, num_cpus, cpu_clock,
90 super(BigCluster, self).__init__(system, num_cpus, cpu_clock,
94 def __init__(self, system, num_cpus, cpu_clock,
98 super(LittleCluster, self).__init__(system, num_cpus, cpu_clock,
102 def __init__(self, system, num_cpus, cpu_clock,
106 super(Ex5BigCluster, self).__init__(system, num_cpus, cpu_clock,
110 def __init__(self, system, num_cpus, cpu_clock,
114 super(Ex5LittleCluster, self).__init__(system, num_cpus, cpu_clock,

Completed in 28 milliseconds

1234567891011