/gem5/configs/learning_gem5/part3/ |
H A D | msi_caches.py | 126 def versionCount(cls): 127 cls._version += 1 # Use count for this particular type 128 return cls._version - 1 189 def versionCount(cls): 190 cls._version += 1 # Use count for this particular type 191 return cls._version - 1
|
H A D | ruby_caches_MI_example.py | 123 def versionCount(cls): 124 cls._version += 1 # Use count for this particular type 125 return cls._version - 1 178 def versionCount(cls): 179 cls._version += 1 # Use count for this particular type 180 return cls._version - 1
|
/gem5/configs/example/ |
H A D | read_config.py | 66 cls.__name__: cls for cls in m5.objects.__dict__.values() 67 if inspect.isclass(cls) and issubclass(cls, m5.objects.SimObject) } 73 def no_parser(cls, flags, param): 75 ' class: %s' % (str(param), cls.__name__)) 78 def body(cls, flags, param): 79 return cls(cast(param + suffix)) 84 def body(cls, flag [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_class.py | 246 for cls in m.Dog, PyDog: 247 refcount_1 = getrefcount(cls) 248 molly = [cls("Molly") for _ in range(10)] 249 refcount_2 = getrefcount(cls) 253 refcount_3 = getrefcount(cls)
|
H A D | test_methods_and_attributes.cpp | 306 [](py::object cls) { return cls; }, 307 [](py::object cls, py::function f) { f(cls); });
|
H A D | test_numpy_dtypes.cpp | 14 #define PYBIND11_PACKED(cls) cls __attribute__((__packed__)) 16 #define PYBIND11_PACKED(cls) __pragma(pack(push, 1)) cls __pragma(pack(pop))
|
/gem5/ext/nomali/lib/ |
H A D | types.hh | 189 Status(StatusClass cls, Code code, SubCode subcode) argument 190 : value((cls << 6) | (code << 3) | subcode) { 191 assert((cls & ~0x3) == 0);
|
/gem5/src/cpu/minor/ |
H A D | MinorCPU.py | 193 def memory_mode(cls): 197 def require_caches(cls): 201 def support_take_over(cls):
|
/gem5/src/cpu/o3/ |
H A D | O3CPU.py | 66 def memory_mode(cls): 70 def require_caches(cls): 74 def support_take_over(cls):
|
H A D | regfile.cc | 199 PhysRegFile::getRegIds(RegClass cls) -> IdRange 201 switch (cls)
|
/gem5/configs/common/ |
H A D | CacheConfig.py | 212 def __getattr__(cls, attr): 215 return super(ExternalSlave, cls).__getattr__(attr) 217 def __setattr__(cls, attr, value): 220 return super(ExternalSlave, cls).__setattr__(attr, value)
|
/gem5/src/sim/ |
H A D | Process.py | 68 def export_methods(cls, code):
|
/gem5/tests/ |
H A D | run.py | 75 cls = getattr(m5.objects, name) 76 return issubclass(cls, m5.objects.SimObject)
|
/gem5/configs/ruby/ |
H A D | MOESI_AMD_Base.py | 51 def seqCount(cls): 58 def cntrlCount(cls): 65 def versionCount(cls): 66 cls._version += 1 # Use count for this particular type 67 return cls._version - 1
|
H A D | GPU_VIPER_Region.py | 48 def seqCount(cls): 55 def cntrlCount(cls): 62 def versionCount(cls): 63 cls._version += 1 # Use count for this particular type 64 return cls._version - 1
|
H A D | GPU_VIPER_Baseline.py | 50 def seqCount(cls): 57 def cntrlCount(cls): 64 def versionCount(cls): 65 cls._version += 1 # Use count for this particular type 66 return cls._version - 1
|
H A D | GPU_RfO.py | 50 def seqCount(cls): 57 def cntrlCount(cls): 64 def versionCount(cls): 65 cls._version += 1 # Use count for this particular type 66 return cls._version - 1
|
H A D | GPU_VIPER.py | 50 def seqCount(cls): 57 def cntrlCount(cls): 64 def versionCount(cls): 65 cls._version += 1 # Use count for this particular type 66 return cls._version - 1
|
/gem5/src/cpu/ |
H A D | BaseCPU.py | 130 def memory_mode(cls): 135 def require_caches(cls): 144 def support_take_over(cls):
|
/gem5/util/style/ |
H A D | verifiers.py | 463 def is_verifier(cls): 466 return inspect.isclass(cls) and issubclass(cls, Verifier) and \ 467 not inspect.isabstract(cls)
|
H A D | region.py | 52 def __new__(cls, *args): 63 return tuple.__new__(cls, args)
|
/gem5/ext/testlib/ |
H A D | log.py | 53 def __init__(cls, name, bases, dct): 54 cls.type_id = RecordTypeCounterMetaclass.counter
|
/gem5/src/python/m5/ext/pyfdt/ |
H A D | pyfdt.py | 163 def __extract_prop_strings(cls, value): 183 def init_raw(cls, name, raw_value): 185 return cls(name, cls.__extract_prop_strings(raw_value)) 262 def init_raw(cls, name, raw_value): 267 return cls(name, words) 340 def init_raw(cls, name, raw_value): 342 return cls(name, unpack('b' * len(raw_value), raw_value))
|
/gem5/src/python/m5/util/ |
H A D | sorteddict.py | 170 def fromkeys(cls, seq, value=None): 171 d = cls()
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | class.h | 35 extern "C" inline PyObject *pybind11_static_get(PyObject *self, PyObject * /*ob*/, PyObject *cls) { argument 36 return PyProperty_Type.tp_descr_get(self, cls, cls); 41 PyObject *cls = PyType_Check(obj) ? obj : (PyObject *) Py_TYPE(obj); local 42 return PyProperty_Type.tp_descr_set(self, cls, value); 90 def __get__(self, obj, cls): 91 return property.__get__(self, cls, cls) 94 cls = obj if isinstance(obj, type) else type(obj) 95 property.__set__(self, cls, valu [all...] |