/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxnum_observer.h | 68 #define SC_FXNUM_OBSERVER_CONSTRUCT_(object) \ 69 SC_OBSERVER_(object,sc_fxnum_observer*,construct) 70 #define SC_FXNUM_OBSERVER_DESTRUCT_(object) \ 71 SC_OBSERVER_(object,sc_fxnum_observer*,destruct) 72 #define SC_FXNUM_OBSERVER_READ_(object) \ 73 SC_OBSERVER_(object,sc_fxnum_observer*,read) 74 #define SC_FXNUM_OBSERVER_WRITE_(object) \ 75 SC_OBSERVER_(object,sc_fxnum_observer*,write) 79 #define SC_FXNUM_FAST_OBSERVER_CONSTRUCT_(object) \ 80 SC_OBSERVER_(object,sc_fxnum_fast_observe [all...] |
H A D | sc_fxval_observer.h | 68 #define SC_FXVAL_OBSERVER_CONSTRUCT_(object) \ 69 SC_OBSERVER_(object,sc_fxval_observer*,construct) 70 #define SC_FXVAL_OBSERVER_DESTRUCT_(object) \ 71 SC_OBSERVER_(object,sc_fxval_observer*,destruct) 72 #define SC_FXVAL_OBSERVER_READ_(object) \ 73 SC_OBSERVER_(object,sc_fxval_observer*,read) 74 #define SC_FXVAL_OBSERVER_WRITE_(object) \ 75 SC_OBSERVER_(object,sc_fxval_observer*,write) 79 #define SC_FXVAL_FAST_OBSERVER_CONSTRUCT_(object) \ 80 SC_OBSERVER_(object,sc_fxval_fast_observe [all...] |
H A D | scfx_other_defs.h | 359 const sc_fxval& object, const std::string& name ) 362 tf->trace( object, name ); 368 const sc_fxval* object, const std::string& name ) 371 tf->trace( *object, name ); 377 const sc_fxval_fast& object, const std::string& name ) 380 tf->trace( object, name ); 386 const sc_fxval_fast* object, const std::string& name ) 389 tf->trace( *object, name ); 395 const sc_fxnum& object, const std::string& name ) 398 tf->trace( object, nam 358 sc_trace( sc_core::sc_trace_file* tf, const sc_fxval& object, const std::string& name ) argument 367 sc_trace( sc_core::sc_trace_file* tf, const sc_fxval* object, const std::string& name ) argument 376 sc_trace( sc_core::sc_trace_file* tf, const sc_fxval_fast& object, const std::string& name ) argument 385 sc_trace( sc_core::sc_trace_file* tf, const sc_fxval_fast* object, const std::string& name ) argument 394 sc_trace( sc_core::sc_trace_file* tf, const sc_fxnum& object, const std::string& name ) argument 403 sc_trace( sc_core::sc_trace_file* tf, const sc_fxnum* object, const std::string& name ) argument 412 sc_trace( sc_core::sc_trace_file* tf, const sc_fxnum_fast& object, const std::string& name ) argument 421 sc_trace( sc_core::sc_trace_file* tf, const sc_fxnum_fast* object, const std::string& name ) argument [all...] |
H A D | sc_fxdefs.h | 287 #define SC_OBSERVER_(object,observer_type,event) \ 289 if( (object).observer() != 0 ) \ 291 observer_type observer = (object).lock_observer(); \ 292 observer->event( (object) ); \ 293 (object).unlock_observer( observer ); \
|
/gem5/src/systemc/ext/dt/fx/ |
H A D | sc_fxnum_observer.hh | 65 #define SC_FXNUM_OBSERVER_CONSTRUCT_(object) \ 66 SC_OBSERVER_(object, sc_fxnum_observer *, construct) 67 #define SC_FXNUM_OBSERVER_DESTRUCT_(object) \ 68 SC_OBSERVER_(object, sc_fxnum_observer *, destruct) 69 #define SC_FXNUM_OBSERVER_READ_(object) \ 70 SC_OBSERVER_(object, sc_fxnum_observer *, read) 71 #define SC_FXNUM_OBSERVER_WRITE_(object) \ 72 SC_OBSERVER_(object, sc_fxnum_observer *, write) 76 #define SC_FXNUM_FAST_OBSERVER_CONSTRUCT_(object) \ 77 SC_OBSERVER_(object, sc_fxnum_fast_observe [all...] |
H A D | sc_fxval_observer.hh | 65 #define SC_FXVAL_OBSERVER_CONSTRUCT_(object) \ 66 SC_OBSERVER_(object, sc_fxval_observer *, construct) 67 #define SC_FXVAL_OBSERVER_DESTRUCT_(object) \ 68 SC_OBSERVER_(object, sc_fxval_observer *, destruct) 69 #define SC_FXVAL_OBSERVER_READ_(object) \ 70 SC_OBSERVER_(object, sc_fxval_observer *, read) 71 #define SC_FXVAL_OBSERVER_WRITE_(object) \ 72 SC_OBSERVER_(object, sc_fxval_observer *, write) 76 #define SC_FXVAL_FAST_OBSERVER_CONSTRUCT_(object) \ 77 SC_OBSERVER_(object, sc_fxval_fast_observe [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | eval.h | 30 object eval(str expr, object global = globals(), object local = object()) { argument 49 return reinterpret_steal<object>(result); 53 object eval(const char (&s)[N], object global = globals(), object local = object()) { argument 60 inline void exec(str expr, object globa argument 65 exec(const char (&s)[N], object global = globals(), object local = object()) argument 70 eval_file(str fname, object global = globals(), object local = object()) argument [all...] |
H A D | pytypes.h | 20 class handle; class object; 45 /// Tag and check to identify a class which implements the Python object API 50 A mixin class which adds common functions to `handle`, `object` and various accessors. 59 Return an iterator equivalent to calling ``iter()`` in Python. The object 67 Return an internal functor to invoke the object's sequence protocol. Casting 68 the returned ``detail::item_accessor`` instance to a `handle` or `object` 70 or `object` subclass causes a call to ``__setitem__``. 77 Return an internal functor to access the object's attributes. Casting the 78 returned ``detail::obj_attr_accessor`` instance to a `handle` or `object` 80 or `object` subclas 230 class object : public handle { class in inherits:handle 234 object(handle h, bool is_borrowed) : handle(h) { if (is_borrowed) inc_ref(); } function in class:object 236 object(const object &o) : handle(o) { inc_ref(); } function in class:object 285 object(handle h, borrowed_t) : handle(h) { inc_ref(); } function in class:object 286 object(handle h, stolen_t) : handle(h) { } function in class:object [all...] |
/gem5/ext/systemc/src/sysc/tracing/ |
H A D | sc_vcd_trace.h | 91 // Trace a boolean object (single bit) 92 void trace(const bool& object, const std::string& name); 94 // Trace a sc_bit object (single bit) 95 virtual void trace( const sc_dt::sc_bit& object, 98 // Trace a sc_logic object (single bit) 99 void trace(const sc_dt::sc_logic& object, const std::string& name); 102 void trace(const unsigned char& object, const std::string& name, 106 void trace(const unsigned short& object, const std::string& name, 110 void trace(const unsigned int& object, const std::string& name, 114 void trace(const unsigned long& object, cons 173 traceT(const T& object, const std::string& name, vcd_enum type=VCD_WIRE) argument [all...] |
H A D | sc_wif_trace.h | 87 // Trace a boolean object (single bit) 88 void trace(const bool& object, const std::string& name); 90 // Trace a sc_bit object (single bit) 91 void trace(const sc_dt::sc_bit& object, const std::string& name); 93 // Trace a sc_logic object (single bit) 94 void trace(const sc_dt::sc_logic& object, const std::string& name); 97 void trace(const unsigned char& object, const std::string& name, 101 void trace(const unsigned short& object, const std::string& name, 105 void trace(const unsigned int& object, const std::string& name, 109 void trace(const unsigned long& object, cons 168 traceT(const T& object, const std::string& name, wif_enum type) argument [all...] |
H A D | sc_wif_trace.cpp | 177 const sc_dt::uint64& object; member in class:sc_core::wif_uint64_trace 187 : wif_trace(name_, wif_name_), object(object_), old_value(object_), 199 return object != old_value; 209 if ((object & mask) != object) 222 buf[bitindex] = (object & bit_mask)? '1' : '0'; 228 old_value = object; 243 const sc_dt::int64& object; member in class:sc_core::wif_int64_trace 253 : wif_trace(name_, wif_name_), object(object_), old_value(object_), 265 return object ! 312 const bool& object; member in class:sc_core::wif_bool_trace 353 const sc_dt::sc_bit& object; member in class:sc_core::wif_sc_bit_trace 392 const sc_dt::sc_logic& object; member in class:sc_core::wif_sc_logic_trace 436 const sc_dt::sc_unsigned& object; member in class:sc_core::wif_sc_unsigned_trace 492 const sc_dt::sc_signed& object; member in class:sc_core::wif_sc_signed_trace 548 const sc_dt::sc_uint_base& object; member in class:sc_core::wif_sc_uint_base_trace 599 const sc_dt::sc_int_base& object; member in class:sc_core::wif_sc_int_base_trace 652 const sc_dt::sc_fxval& object; member in class:sc_core::wif_sc_fxval_trace 693 const sc_dt::sc_fxval_fast& object; member in class:sc_core::wif_sc_fxval_fast_trace 736 const sc_dt::sc_fxnum& object; member in class:sc_core::wif_sc_fxnum_trace 804 const sc_dt::sc_fxnum_fast& object; member in class:sc_core::wif_sc_fxnum_fast_trace 870 const unsigned& object; member in class:sc_core::wif_unsigned_int_trace 934 const unsigned short& object; member in class:sc_core::wif_unsigned_short_trace 997 const unsigned char& object; member in class:sc_core::wif_unsigned_char_trace 1059 const unsigned long& object; member in class:sc_core::wif_unsigned_long_trace 1122 const int& object; member in class:sc_core::wif_signed_int_trace 1185 const short& object; member in class:sc_core::wif_signed_short_trace 1247 const char& object; member in class:sc_core::wif_signed_char_trace 1309 const long& object; member in class:sc_core::wif_signed_long_trace 1371 const float& object; member in class:sc_core::wif_float_trace 1406 const double& object; member in class:sc_core::wif_double_trace 1445 const unsigned& object; member in class:sc_core::wif_enum_trace 1548 const T& object; member in class:sc_core::wif_T_trace [all...] |
H A D | sc_trace.cpp | 90 const sc_signal_in_if<char>& object, 95 tf->trace( object.read(), name, width ); 101 const sc_signal_in_if<short>& object, 106 tf->trace( object.read(), name, width ); 112 const sc_signal_in_if<int>& object, 117 tf->trace( object.read(), name, width ); 123 const sc_signal_in_if<long>& object, 128 tf->trace( object.read(), name, width ); 160 sc_trace( sc_trace_file* tf, const tp& object, const std::string& name ) \ 163 tf->trace( object, nam 89 sc_trace( sc_trace_file* tf, const sc_signal_in_if<char>& object, const std::string& name, int width ) argument 100 sc_trace( sc_trace_file* tf, const sc_signal_in_if<short>& object, const std::string& name, int width ) argument 111 sc_trace( sc_trace_file* tf, const sc_signal_in_if<int>& object, const std::string& name, int width ) argument 122 sc_trace( sc_trace_file* tf, const sc_signal_in_if<long>& object, const std::string& name, int width ) argument 199 sc_trace( sc_trace_file* tf, const unsigned int& object, const std::string& name, const char** enum_literals ) argument [all...] |
H A D | sc_vcd_trace.cpp | 254 object( object_ ), 262 std::fprintf( f, "%s", compose_line( object.to_string() ).c_str() ); 263 old_value = object; 267 { return !(object == old_value); } 270 { bit_width = object.length(); } 274 const T& object; member in class:sc_core::vcd_T_trace 284 const sc_dt::sc_bv_base& object, const std::string& name) 286 traceT(object,name); 292 const sc_dt::sc_lv_base& object, const std::string& name) 294 traceT(object,nam 283 trace( const sc_dt::sc_bv_base& object, const std::string& name) argument 291 trace( const sc_dt::sc_lv_base& object, const std::string& name) argument 308 const bool& object; member in class:sc_core::vcd_bool_trace 348 const sc_dt::sc_bit& object; member in class:sc_core::vcd_sc_bit_trace 389 const sc_dt::sc_logic& object; member in class:sc_core::vcd_sc_logic_trace 436 const sc_dt::sc_unsigned& object; member in class:sc_core::vcd_sc_unsigned_trace 499 const sc_dt::sc_signed& object; member in class:sc_core::vcd_sc_signed_trace 560 const sc_dt::sc_uint_base& object; member in class:sc_core::vcd_sc_uint_base_trace 618 const sc_dt::sc_int_base& object; member in class:sc_core::vcd_sc_int_base_trace 676 const sc_dt::sc_fxval& object; member in class:sc_core::vcd_sc_fxval_trace 718 const sc_dt::sc_fxval_fast& object; member in class:sc_core::vcd_sc_fxval_fast_trace 762 const sc_dt::sc_fxnum& object; member in class:sc_core::vcd_sc_fxnum_trace 832 const sc_dt::sc_fxnum_fast& object; member in class:sc_core::vcd_sc_fxnum_fast_trace 901 const unsigned& object; member in class:sc_core::vcd_unsigned_int_trace 967 const unsigned short& object; member in class:sc_core::vcd_unsigned_short_trace 1032 const unsigned char& object; member in class:sc_core::vcd_unsigned_char_trace 1094 const unsigned long& object; member in class:sc_core::vcd_unsigned_long_trace 1159 const int& object; member in class:sc_core::vcd_signed_int_trace 1222 const short& object; member in class:sc_core::vcd_signed_short_trace 1285 const char& object; member in class:sc_core::vcd_signed_char_trace 1347 const sc_dt::int64& object; member in class:sc_core::vcd_int64_trace 1414 const sc_dt::uint64& object; member in class:sc_core::vcd_uint64_trace 1481 const long& object; member in class:sc_core::vcd_signed_long_trace 1544 const float& object; member in class:sc_core::vcd_float_trace 1580 const double& object; member in class:sc_core::vcd_double_trace 1617 const unsigned& object; member in class:sc_core::vcd_enum_trace [all...] |
H A D | sc_trace.h | 97 virtual void trace( const tp& object, \ 101 virtual void trace( const tp& object, \ 140 // Trace an enumerated object - where possible output the enumeration 143 virtual void trace( const unsigned int& object, 173 // We define two sc_trace() versions for scalar types; one where the object to 175 // tracing object is passed. 180 const tp& object, \ 186 const tp* object, \ 216 sc_trace( sc_trace_file* tf, const tp& object, const std::string& name ) \ 219 tf->trace( object, nam 294 sc_trace( sc_trace_file* tf, const sc_signal_in_if<T>& object, const std::string& name ) argument 304 sc_trace( sc_trace_file* tf, const sc_signal_in_if<T>& object, const char* name ) argument [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_async.cpp | 19 .def("__await__", [](const SupportsAsync& self) -> py::object { 21 py::object loop = py::module::import("asyncio.events").attr("get_event_loop")(); 22 py::object f = loop.attr("create_future")();
|
/gem5/src/sim/ |
H A D | ticked_object.cc | 48 object(object_), 65 object.schedule(event, object.clockEdge(Cycles(1))); 73 .name(object.name() + ".totalTickCycles") 74 .desc("Number of cycles that the object ticked or was stopped"); 78 .name(object.name() + ".tickCycles") 79 .desc("Number of cycles that the object actually ticked"); 82 .name(object.name() + ".idleCycles") 83 .desc("Total number of cycles that the object has spent stopped"); 100 /* lastStopped is optional on checkpoint restore as this object ma [all...] |
H A D | ticked_object.hh | 64 ClockedObject &object; member in class:Ticked 109 object.schedule(event, object.clockEdge(Cycles(1))); 120 return object.curCycle() - lastStopped; 127 lastStopped = object.curCycle(); 136 object.deschedule(event); 153 * cycle and when restarting the ticked object. The delta 155 * previous call is normally '1' unless the object has been
|
/gem5/src/cpu/ |
H A D | cpuevent.hh | 45 * events. This object MUST be dynamically allocated to avoid it being 82 T *object; member in class:CpuEventWrapper 86 : CpuEvent(_tc, p), object(obj) 88 void process() { (object->*F)(tc); }
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_spawn.h | 50 // This templated helper class allows an object to provide the execution 52 // execution object will be kept to provide the semantics when the process is 54 // of an object that might be used for this helper function would be void 60 // sc_spawn_object(T object, const char* name, const sc_spawn_options* opt_p) 61 // This is the object instance constructor for this class. It makes a 62 // copy of the supplied object. The tp_call constructor is called 63 // with an indication that this object instance should be reclaimed when 65 // object = object whose () operator will be called to provide 67 // name_p = optional name for object instanc 77 sc_spawn_object( T object) argument 104 sc_spawn( T object, const char* name_p = 0, const sc_spawn_options* opt_p = 0) argument 205 sc_spawn( typename T::result_type* r_p, T object, const char* name_p = 0, const sc_spawn_options* opt_p = 0) argument 242 sc_spawn_object_v( R* r_p, T object) argument 258 sc_spawn( R* r_p, T object, const char* name_p = 0, const sc_spawn_options* opt_p = 0) argument [all...] |
/gem5/src/sim/probe/ |
H A D | probe.cc | 87 DPRINTFR(ProbeVerbose, "Probes: Call to addListener to \"%s\" on %s.\n", pointName, object->name()); 96 DPRINTFR(ProbeVerbose, "Probes: Call to addListener to \"%s\" on %s failed, no such point.\n", pointName, object->name()); 104 DPRINTFR(ProbeVerbose, "Probes: Call to removeListener from \"%s\" on %s.\n", pointName, object->name()); 113 DPRINTFR(ProbeVerbose, "Probes: Call to removeListener from \"%s\" on %s failed, no such point.\n", pointName, object->name()); 121 DPRINTFR(ProbeVerbose, "Probes: Call to addPoint \"%s\" to %s.\n", point.getName(), object->name()); 125 DPRINTFR(ProbeVerbose, "Probes: Call to addPoint \"%s\" to %s failed, already added.\n", point.getName(), object->name());
|
H A D | probe.hh | 93 * a python derived object that can be added as a ProbeListener to any other 156 const M5_CLASS_VAR_USED SimObject *object; member in class:ProbeManager 162 : object(obj) 220 T *object; member in class:ProbeListenerArg 231 object(obj), 240 virtual void notify(const Arg &val) { (object->*function)(val); }
|
/gem5/src/base/ |
H A D | callback.hh | 67 T *object; member in class:MakeCallback 74 : object(o), autoDestroy(auto_destroy) 78 : object(&o), autoDestroy(auto_destroy) 81 void process() { (object->*F)(); }
|
/gem5/src/arch/ |
H A D | micro_asm_test.py | 33 class Bah(object): 37 class Bah_Tweaked(object): 41 class Hoop(object): 47 class Dah(object):
|
/gem5/src/cpu/testers/traffic_gen/ |
H A D | pygen.hh | 57 void start(pybind11::object meta_generator);
|
/gem5/src/systemc/python/ |
H A D | systemc.py | 34 class ScMainResult(object):
|