/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxnum.cpp | 622 scfx_ieee_double id( m_val ); 623 SC_ERROR_IF_( id.is_nan() || id.is_inf(), sc_core::SC_ID_INVALID_FX_VALUE_); 632 if( id.is_zero() ) 634 if( id.negative() != 0 ) 646 id = m_val; 647 if( id.is_zero() && id.negative() != 0 ) { 653 if( id.is_nan() || id [all...] |
H A D | sc_fxval.cpp | 190 print_dec( scfx_string& s, scfx_ieee_double id, int w_prefix, sc_fmt fmt ) argument 192 if( id.negative() != 0 ) 194 id.negative( 0 ); 202 if( id.is_zero() ) 208 // split 'id' into its integer and fractional part 211 double frac_part = modf( static_cast<double>( id ), &int_part ); 314 print_other( scfx_string& s, const scfx_ieee_double& id, sc_numrep numrep, argument 317 scfx_ieee_double id2 = id; 482 to_string( const scfx_ieee_double& id, sc_numrep numrep, int w_prefix, argument 489 if( id [all...] |
/gem5/src/systemc/dt/fx/ |
H A D | sc_fxnum.cc | 567 scfx_ieee_double id(m_val); 568 SC_ERROR_IF_(id.is_nan() || id.is_inf(), sc_core::SC_ID_INVALID_FX_VALUE_); 576 if (id.is_zero()) { 577 if (id.negative() != 0) 587 id = m_val; 588 if (id.is_zero() && id.negative() != 0) { 593 if (id.is_nan() || id [all...] |
H A D | sc_fxval.cc | 183 print_dec(scfx_string &s, scfx_ieee_double id, int w_prefix, sc_fmt fmt) argument 185 if (id.negative() != 0) { 186 id.negative(0); 194 if (id.is_zero()) { 199 // split 'id' into its integer and fractional part 201 double frac_part = std::modf(static_cast<double>(id), &int_part); 290 print_other(scfx_string &s, const scfx_ieee_double &id, sc_numrep numrep, argument 293 scfx_ieee_double id2 = id; 444 to_string(const scfx_ieee_double &id, sc_numrep numrep, int w_prefix, argument 451 if (id [all...] |
/gem5/src/mem/ruby/network/garnet2.0/ |
H A D | VirtualChannel.cc | 36 VirtualChannel::VirtualChannel(int id) argument 39 m_id = id;
|
H A D | OutVcState.hh | 43 OutVcState(int id, GarnetNetwork *network_ptr);
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_communication_ids.h | 43 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 44 namespace sc_core { extern const char id[]; } 129 Andy Goodrich: Changed over to use a standard message id of
|
H A D | sc_semaphore.cpp | 45 sc_semaphore::report_error( const char* id, const char* add_msg ) const argument 53 SC_REPORT_ERROR( id, msg );
|
H A D | sc_semaphore.h | 84 void report_error( const char* id, const char* add_msg = 0 ) const;
|
/gem5/tests/test-progs/pthread/src/ |
H A D | test_pthread_cond.cpp | 62 long id = (long)arg_vptr; local 68 std::cout << "thread " << id << '\n'; local
|
H A D | test_std_condition_variable.cpp | 57 void print_id( size_t id ) 63 std::cout << "thread " << id << '\n'; local
|
/gem5/src/arch/arm/tracers/ |
H A D | tarmac_tracer.cc | 52 auto id = thread->getCpuPtr()->cpuId(); local 53 return "cpu" + std::to_string(id);
|
/gem5/src/sim/ |
H A D | port.hh | 74 const PortID id; member in class:Port 108 /** Get the port id. */ 109 PortID getId() const { return id; }
|
H A D | system.cc | 248 int id = assigned; local 249 if (id == InvalidContextID) { 251 id = 0; 252 while (id < threadContexts.size() && threadContexts[id]) 253 id++; 256 if (threadContexts.size() <= id) 257 threadContexts.resize(id + 1); 259 fatal_if(threadContexts[id], 260 "Cannot have two CPUs with the same id ( [all...] |
/gem5/src/cpu/ |
H A D | thread_state.hh | 76 void setContextId(ContextID id) { _contextId = id; } argument 78 void setThreadId(ThreadID id) { _threadId = id; } argument 168 // system wide HW context id
|
/gem5/src/learning_gem5/part2/ |
H A D | simple_cache.hh | 60 int id; member in class:SimpleCache::CPUSidePort 75 CPUSidePort(const std::string& name, int id, SimpleCache *owner) : argument 76 SlavePort(name, owner), id(id), owner(owner), needRetry(false), 196 * @param id of the port to send the response
|
/gem5/ext/nomali/lib/ |
H A D | addrspace.cc | 42 id(_id), 49 id(std::move(rhs.id)),
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_report.cpp | 165 static const char unknown_id[] = "unknown id"; 178 md->id = id_; 198 void sc_report::register_id( int id, const char* msg ) argument 201 if( id < 0 ) { 203 "invalid report id" ); 209 sc_msg_def * md = sc_report_handler::mdlookup(id); 219 if( md->id != -1 ) { 222 "report id already exists" ); 226 md->id = id; [all...] |
/gem5/src/mem/ |
H A D | coherent_xbar.hh | 114 return xbar.recvTimingReq(pkt, id); 120 return xbar.recvTimingSnoopResp(pkt, id); 126 return xbar.recvAtomicBackdoor(pkt, id); 132 return xbar.recvAtomicBackdoor(pkt, id, &backdoor); 138 xbar.recvFunctional(pkt, id); 180 return xbar.recvTimingResp(pkt, id); 186 return xbar.recvTimingSnoopReq(pkt, id); 192 return xbar.recvAtomicSnoop(pkt, id); 198 xbar.recvFunctionalSnoop(pkt, id); 201 void recvRangeChange() override { xbar.recvRangeChange(id); } [all...] |
/gem5/src/cpu/kvm/ |
H A D | base.hh | 368 void setOneReg(uint64_t id, const void *addr); 369 void setOneReg(uint64_t id, uint64_t value) { setOneReg(id, &value); } argument 370 void setOneReg(uint64_t id, uint32_t value) { setOneReg(id, &value); } argument 371 void getOneReg(uint64_t id, void *addr) const; 372 uint64_t getOneRegU64(uint64_t id) const { 374 getOneReg(id, &value); 377 uint32_t getOneRegU32(uint64_t id) const { 379 getOneReg(id, [all...] |
/gem5/src/mem/slicc/symbols/ |
H A D | SymbolTable.py | 60 def registerSym(self, id, sym): 62 if id in self.sym_map_vec[-1]: 63 sym.error("Symbol '%s' redeclared in same scope.", id) 66 if id in sym_map: 67 if type(sym_map[id]) != type(sym): 68 sym.error("Conflicting declaration of Symbol '%s'", id) 71 self.sym_map_vec[-1][id] = sym
|
/gem5/src/systemc/tests/tlm/nb2b_adapter/ |
H A D | nb2b_adapter.cpp | 206 virtual void b_transport( int id, tlm::tlm_generic_payload& trans, sc_time& delay ) argument 208 unsigned int target = (id + offset) % init_socket.size(); // Route-through 216 int id; member in struct:Interconnect::route_extension 222 virtual tlm::tlm_sync_enum nb_transport_fw( int id, tlm::tlm_generic_payload& trans, argument 229 ext->id = id; 233 unsigned int target = (id + offset) % init_socket.size(); // Route-through 247 virtual bool get_direct_mem_ptr( int id, tlm::tlm_generic_payload& trans, argument 250 unsigned int target = (id + offset) % init_socket.size(); // Route-through 257 virtual unsigned int transport_dbg( int id, tl argument 265 nb_transport_bw( int id, tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_time& delay ) argument 284 invalidate_direct_mem_ptr( int id, sc_dt::uint64 start_range, sc_dt::uint64 end_range ) argument [all...] |
/gem5/util/minorview/ |
H A D | model.py | 86 """A line or instruction id""" 141 """Returns the usual id T/S.P/L/F.E string""" 185 self.id = Id() 192 newPC, id = m.groups() 197 self.id = special_view_decoder(Id)(id) 230 """Data cache accesses [RW];id""" 233 self.id = Id() 236 self.direc, id = re.match('^([RW]);([^;]*);.*$', string).groups() 237 self.id [all...] |
/gem5/ext/drampower/src/ |
H A D | MemorySpecification.cc | 46 setVarFromParam(&id,"memoryId");
|
/gem5/src/mem/ruby/slicc_interface/ |
H A D | RubySlicc_Util.hh | 52 NodeID id = nodenum; local 53 return id; 57 IDToInt(NodeID id) argument 59 int nodenum = id;
|