/gem5/ext/testlib/ |
H A D | suite.py | 11 # neither the name of the copyright holders nor the names of its 37 have a unique name. 59 def __init__(self, name=None, fixtures=tuple(), tests=tuple(), 64 if name is None: 65 name = self.__class__.__name__ 66 self.name = name
|
H A D | state.py | 11 # neither the name of the copyright holders nor the names of its 39 def name(cls, enum): member in class:Result 47 return self.name(self.value) 62 def name(cls, enum): member in class:Status
|
/gem5/src/mem/probes/ |
H A D | stack_dist.cc | 21 * neither the name of the copyright holders nor the names of its 70 .name(name() + ".readLinearHist") 76 .name(name() + ".readLogHist") 82 .name(name() + ".writeLinearHist") 88 .name(name() + ".writeLogHist") 93 .name(nam [all...] |
/gem5/src/sim/probe/ |
H A D | probe.cc | 21 * neither the name of the copyright holders nor the names of its 46 : name(_name) 68 : manager(_manager), name(_name) 70 manager->addListener(name, *this); 75 manager->removeListener(name, *this); 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()); [all...] |
/gem5/src/base/ |
H A D | trace.cc | 15 * neither the name of the copyright holders nor the names of its 49 const std::string &name() function 105 Logger::dump(Tick when, const std::string &name, const void *d, int len) argument 107 if (!name.empty() && ignore.match(name)) 136 logMessage(when, name, line.str()); 144 OstreamLogger::logMessage(Tick when, const std::string &name, argument 147 if (!name.empty() && ignore.match(name)) 153 if (!name 154 stream << name << ": "; local [all...] |
H A D | match.hh | 12 * neither the name of the copyright holders nor the names of its 45 bool domatch(const std::string &name) const; 53 bool match(const std::string &name) const 55 return tokens.empty() ? false : domatch(name);
|
/gem5/src/systemc/core/ |
H A D | sc_object.cc | 11 * neither the name of the copyright holders nor the names of its 46 sc_object::name() const function in class:sc_core::sc_object 48 return _gem5_object->name(); 94 sc_object::get_attribute(const std::string &name) argument 96 return _gem5_object->get_attribute(name); 100 sc_object::remove_attribute(const std::string &name) argument 102 return _gem5_object->remove_attribute(name); 140 sc_object::sc_object(const char *name) argument 142 _gem5_object = new sc_gem5::Object(this, name); 169 sc_find_object(const char *name) argument [all...] |
H A D | sc_port.cc | 11 * neither the name of the copyright holders nor the names of its 48 const char *name, const char *kind) 52 msg = csprintf("%s: port '%s' (%s)", add_msg, name, kind); 54 msg = csprintf("port '%s' (%s)", name, kind); 66 name(), kind()); 70 name(), kind()); 75 reportError(SC_ID_PORT_OUTSIDE_MODULE_, nullptr, name(), kind()); 104 ss << "port '" << name() << "' (" << kind() << ")"; 47 reportError(const char *id, const char *add_msg, const char *name, const char *kind) argument
|
/gem5/src/systemc/channel/ |
H A D | sc_clock.cc | 11 * neither the name of the copyright holders nor the names of its 51 std::string name; member in class:sc_gem5::ClockTick 59 _period(_period), name(clock->basename()), p(nullptr), 63 name += std::string(to ? "_posedge_action" : "_negedge_action"); 64 name = ::sc_core::sc_gen_unique_name(name.c_str()); 70 p = new Method(name.c_str(), &funcWrapper, true); 101 sc_clock::sc_clock(const char *name) : argument 102 sc_clock(name, sc_time(1.0, SC_NS), 0.5, SC_ZERO_TIME, true) 105 sc_clock::sc_clock(const char *name, cons argument 137 sc_clock(const char *name, double period_v, sc_time_unit period_tu, double duty_cycle) argument 143 sc_clock(const char *name, double period_v, sc_time_unit period_tu, double duty_cycle, double start_time_v, sc_time_unit start_time_tu, bool posedge_first) argument 150 sc_clock(const char *name, double period, double duty_cycle, double start_time, bool posedge_first) argument [all...] |
/gem5/src/systemc/tests/systemc/kernel/process_control/disable_enable/test2/ |
H A D | test2.cpp | 27 // CVS MODIFICATION LOG - modifiers, enter your name, affiliation, date and 94 time_stamp(cout) << name << ": disabling target_" << #TARGET << endl; \ 101 time_stamp(cout) << name << ": enabling target_" << #TARGET << endl; \ 108 const char* name = "stimulator"; local 142 time_stamp(cout) << name << ": terminating" << endl; 148 const char* name = "target_cthread0"; local 150 time_stamp(cout) << name << ": starting" << endl; 156 time_stamp(cout) << name << ": ERROR should not see this" << endl; 160 time_stamp(cout) << name << ": active" << endl; 163 time_stamp(cout) << name << " 168 const char* name = "target_method0"; local 194 const char* name = "target_thread0"; local [all...] |
/gem5/src/systemc/tests/systemc/kernel/process_control/suspend_resume/test2/ |
H A D | test2.cpp | 27 // CVS MODIFICATION LOG - modifiers, enter your name, affiliation, date and 107 time_stamp(cout) << name << ": suspending target_" << #TARGET << endl; \ 114 time_stamp(cout) << name << ": resuming target_" << #TARGET << endl; \ 121 const char* name = "stimulator"; local 155 time_stamp(cout) << name << ": terminating" << endl; 161 const char* name = "target_cthread0"; local 163 time_stamp(cout) << name << ": starting" << endl; 169 time_stamp(cout) << name << ": ERROR should not see this" << endl; 173 time_stamp(cout) << name << ": active" << endl; 176 time_stamp(cout) << name << " 181 const char* name = "target_method0"; local 207 const char* name = "target_thread0"; local [all...] |
/gem5/src/mem/ |
H A D | packet_queue.hh | 24 * neither the name of the copyright holders nor the names of its 157 * Provide a name to simplify debugging. 159 * @return A complete name, appended to module and port 161 virtual const std::string name() const = 0; 234 static const std::string name(const MasterPort& masterPort, function in class:ReqPacketQueue 236 { return masterPort.name() + "-" + label; } 254 const std::string name() const function in class:ReqPacketQueue 255 { return name(masterPort, label); } 270 static const std::string name(const MasterPort& masterPort, function in class:SnoopRespPacketQueue 272 { return masterPort.name() 292 const std::string name() const function in class:SnoopRespPacketQueue 308 static const std::string name(const SlavePort& slavePort, function in class:RespPacketQueue 330 const std::string name() const function in class:RespPacketQueue [all...] |
/gem5/src/systemc/utils/ |
H A D | vcd.cc | 11 * neither the name of the copyright holders nor the names of its 59 cleanName(std::string name) argument 61 for (int i = 0; i < name.length(); i++) { 62 if (name[i] == '[') 63 name[i] = '('; 64 else if (name[i] == ']') 65 name[i] = ')'; 67 return name; 144 VcdTraceScope::addValue(const std::string &name, VcdTraceValBase *value) argument 146 size_t pos = name 159 output(const std::string &name, std::ostream &os) argument 164 const std::string &name = p.first; local 338 addTraceVal(const bool *v, const std::string &name) argument 359 addTraceVal(const float *v, const std::string &name) argument 364 addTraceVal(const double *v, const std::string &name) argument 386 addTraceVal(const sc_dt::sc_logic *v, const std::string &name) argument 419 addTraceVal(const sc_dt::sc_int_base *v, const std::string &name) argument 425 addTraceVal(const sc_dt::sc_uint_base *v, const std::string &name) argument 432 addTraceVal(const sc_dt::sc_signed *v, const std::string &name) argument 437 addTraceVal(const sc_dt::sc_unsigned *v, const std::string &name) argument 464 addTraceVal(const sc_dt::sc_bv_base *v, const std::string &name) argument 469 addTraceVal(const sc_dt::sc_lv_base *v, const std::string &name) argument 491 addTraceVal(const sc_dt::sc_fxval *v, const std::string &name) argument 496 addTraceVal(const sc_dt::sc_fxval_fast *v, const std::string &name) argument 523 addTraceVal(const sc_dt::sc_fxnum *v, const std::string &name) argument 528 addTraceVal(const sc_dt::sc_fxnum_fast *v, const std::string &name) argument 552 addTraceVal(const sc_core::sc_event *v, const std::string &name) argument 588 addTraceVal(const sc_core::sc_time *v, const std::string &name) argument 622 addTraceVal(const unsigned char *v, const std::string &name, int width) argument 628 addTraceVal(const char *v, const std::string &name, int width) argument 633 addTraceVal(const unsigned short *v, const std::string &name, int width) argument 639 addTraceVal(const short *v, const std::string &name, int width) argument 644 addTraceVal(const unsigned int *v, const std::string &name, int width) argument 650 addTraceVal(const int *v, const std::string &name, int width) argument 655 addTraceVal(const unsigned long *v, const std::string &name, int width) argument 661 addTraceVal(const long *v, const std::string &name, int width) argument 667 addTraceVal(const sc_dt::int64 *v, const std::string &name, int width) argument 673 addTraceVal(const sc_dt::uint64 *v, const std::string &name, int width) argument 680 addTraceVal(const unsigned int *v, const std::string &name, const char **literals) argument [all...] |
H A D | tracefile.hh | 11 * neither the name of the copyright holders nor the names of its 202 TraceFile(const std::string &name); 216 virtual void addTraceVal(const bool *v, const std::string &name) = 0; 217 virtual void addTraceVal(const float *v, const std::string &name) = 0; 218 virtual void addTraceVal(const double *v, const std::string &name) = 0; 221 const std::string &name) = 0; 223 const std::string &name) = 0; 225 const std::string &name) = 0; 227 const std::string &name) = 0; 229 const std::string &name) [all...] |
/gem5/src/sim/ |
H A D | ticked_object.cc | 21 * neither the name of the copyright holders nor the names of its 49 event([this]{ processClockEvent(); }, name(), false, priority), 73 .name(object.name() + ".totalTickCycles") 78 .name(object.name() + ".tickCycles") 82 .name(object.name() + ".idleCycles")
|
/gem5/src/systemc/tlm_core/2/generic_payload/ |
H A D | phase.cc | 46 register_phase(std::type_index type, std::string name) argument 50 if (name.empty()) { 52 "unexpected empty tlm_phase name" ); 57 // new phase - generate/store ID and name 59 names_.push_back(name_table::value_type(name.data(), name.size())); 64 if (names_[it->second] != name) { 101 tlm_phase::tlm_phase(const std::type_info &type, const char *name) : 102 m_id(tlm_phase_registry::instance().register_phase(type, name))
|
/gem5/src/gpu-compute/ |
H A D | hsa_object.hh | 17 * 3. Neither the name of the copyright holder nor the names of its contributors 60 virtual HsaCode* getKernel(const std::string &name) const = 0; 62 virtual HsaCode* getFunction(const std::string &name) const = 0; 65 const std::string& name() const { return filename; } function in class:HsaObject
|
/gem5/src/mem/ruby/network/garnet2.0/ |
H A D | GarnetNetwork.cc | 13 * neither the name of the copyright holders nor the names of its 262 .name(name() + ".packets_received") 268 .name(name() + ".packets_injected") 274 .name(name() + ".packet_network_latency") 280 .name(name() + ".packet_queueing_latency") 292 .name(nam [all...] |
/gem5/ext/ply/ |
H A D | setup.py | 6 setup(name = "ply",
|
/gem5/src/cpu/ |
H A D | quiesce_event.cc | 12 * neither the name of the copyright holders nor the names of its 45 DPRINTF(Quiesce, "activating %s\n", tc->getCpuPtr()->name());
|
/gem5/ext/systemc/src/sysc/tracing/ |
H A D | sc_trace.h | 30 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 98 const std::string& name ) = 0; 102 const std::string& name, \ 144 const std::string& name, 181 const std::string& name ); 187 const std::string& name ); \ 216 sc_trace( sc_trace_file* tf, const tp& object, const std::string& name ) \ 219 tf->trace( object, name ); \ 226 sc_trace( sc_trace_file* tf, const tp* object, const std::string& name ) \ 229 tf->trace( *object, name ); \ [all...] |
/gem5/src/systemc/tests/systemc/kernel/sc_module/test06/ |
H A D | test06.cpp | 31 MODIFICATION LOG - modifiers, enter your name, affiliation, date and
58 cout<<a.name()<<endl;;
|
/gem5/src/systemc/tests/systemc/kernel/sc_process_b/test03/ |
H A D | test03.cpp | 30 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 49 cout << handle.name() << " " << handle.proc_kind() << endl; 56 cout << handle.name() << " " << handle.proc_kind() << endl; 63 cout << name() << ".method " << method_handle.proc_kind() << endl; 66 cout << name() << ".thread " << thread_handle.proc_kind() << endl;
|
/gem5/src/systemc/tests/systemc/tracing/vcd_trace/test13/ |
H A D | test13.cpp | 21 Mod(const sc_module_name& name) : sc_module(name), a("a") argument 27 sc_trace(sc_tf, a, a.name()); 45 sc_trace(sc_tf, clk, clk.name());
|
/gem5/src/dev/net/ |
H A D | etherint.hh | 12 * neither the name of the copyright holders nor the names of its 56 EtherInt(const std::string &name, int idx=InvalidPortID) argument 57 : Port(name, idx), portName(name), peer(NULL) {} 60 /** Return port name (for DPRINTF). */ 61 const std::string &name() const { return portName; } function in class:EtherInt
|