/gem5/src/systemc/tests/systemc/utils/sc_vector/test05/ |
H A D | test05.cpp | 117 mid = top.in.bind( fifo_2.begin(), fifo_2.end(), mid ); 118 sc_assert( mid == top.in.end() );
|
/gem5/src/mem/cache/ |
H A D | mshr_queue.cc | 70 mshr->allocIter = allocatedList.insert(allocatedList.end(), mshr); 91 auto it = std::find_if(mshr->readyIter, readyList.end(),
|
H A D | mshr.cc | 186 MSHR::TargetList::iterator end) 188 for (auto t = begin; t != end; t++) { 208 clearDownstreamPending(begin(), end()); 511 while (it != targets.end()) { 541 auto it = std::find_if(deferredTargets.begin(), deferredTargets.end(), 550 targets.splice(targets.end(), deferredTargets, it); 556 targets.splice(targets.end(), deferredTargets, 577 deferredTargets.end(), 584 targets.splice(targets.end(), deferredTargets, 185 clearDownstreamPending(MSHR::TargetList::iterator begin, MSHR::TargetList::iterator end) argument
|
/gem5/src/mem/qos/ |
H A D | policy_pf.cc | 101 std::sort(history.begin(), history.end(), sort_pred); 106 for (auto m_hist = history.begin(); m_hist != history.end(); m_hist++) {
|
/gem5/tests/test-progs/asmtest/src/riscv/env/v/ |
H A D | string.c | 65 const uintptr_t* end = u1 + (n / sizeof(uintptr_t)); local 66 while (u1 < end) {
|
/gem5/ext/dsent/util/ |
H A D | Result.cc | 82 it != m_sub_results_.end(); ++it) 124 it != m_sub_results_.end(); ++it) 139 it != m_sub_results_.end(); ++it) 167 it != m_sub_results_.end(); ++it) 181 it != m_sub_results_.end(); ++it) 209 for(vector<SubResult*>::const_iterator it = m_sub_results_.begin(); it != m_sub_results_.end(); ++it)
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_object.cpp | 329 it = events.begin(), end = events.end(); local 331 for( ; it != end; ++it ) 349 it = children.begin(), end = children.end(); local 351 for( ; it != end; ++it ) 513 // Andy Goodrich: moved the modification log to the end of the file to
|
/gem5/src/sim/ |
H A D | fd_array.cc | 69 if ((it = _imap.find(input)) != _imap.end()) 81 if ((it = _oemap.find(output)) != _oemap.end()) 92 else if ((it = _oemap.find(errout)) != _oemap.end()) 160 if ((it = _imap.find(stdin_ffd->getFileName())) != _imap.end()) { 184 if ((it = _oemap.find(stdout_ffd->getFileName())) != _oemap.end()) { 211 } else if ((it = _oemap.find(stderr_ffd->getFileName())) != _oemap.end()) { 226 * Check which end of the pipe we are looking at; we only want 228 * end to be the end that sets up the pipe. 240 * that we created on the host. This one is the read end [all...] |
H A D | dvfs_handler.cc | 69 for (auto dit = p->domains.begin(); dit != p->domains.end(); ++dit) { 102 assert(domains.find(domainIDList[index]) != domains.end()); 113 if (domains.find(domain_id) != domains.end())
|
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-param-util.h | 196 iterator end() const { return iterator(impl_->End()); } function in class:testing::internal::ParamGenerator 209 RangeGenerator(T begin, T end, IncrementT step) argument 210 : begin_(begin), end_(end), 211 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 267 const T& end, 270 for (T i = begin; i < end; i = static_cast<T>(i + step)) 281 // The index for the end() iterator. All the elements in the generated 295 ValuesInIteratorRangeGenerator(ForwardIterator begin, ForwardIterator end) argument 296 : container_(begin, end) {} 303 return new Iterator(this, container_.end()); 266 CalculateEndIndex(const T& begin, const T& end, const IncrementT& step) argument [all...] |
/gem5/src/systemc/core/ |
H A D | sc_time.cc | 232 char *end = nullptr; local 234 double d = str ? std::strtod(str, &end) : 0.0; 235 if (str == end || d < 0.0) { 240 while (*end && std::isspace(*end)) 241 end++; 243 return sc_time(d, end);
|
/gem5/src/systemc/tests/include/ |
H A D | SimpleBusAT.h | 113 assert(it != mPendingTransactions.end()); 176 assert(it != mPendingTransactions.end()); 319 sc_dt::uint64 start, end; local 321 end = dmi_data.get_end_address(); 323 limitRange(portId, start, end); 326 dmi_data.set_end_address(end); 353 assert(mPendingTransactions.find(&trans) == mPendingTransactions.end());
|
/gem5/src/base/ |
H A D | circular_queue.hh | 96 * Some parts of the code rely on getting the past the end iterator, and 149 * - Iterator to the end of a queue of capacity 4 with 2 elems. 195 * circular queue, it is not the past-the-end iterator and the 200 * - The end() iterator of a full queue 289 * and we are talking about the past-the-end iterator. In that case, 371 /* If a is already at the end, we can safely return 0. */ 530 assert(hIt <= end()); 531 _empty = hIt == end(); 545 /** Pushes an element at the end of the queue. */ 595 return end(); 615 iterator end() function in class:CircularQueue 624 iterator end() const function in class:CircularQueue [all...] |
H A D | output.cc | 151 if (i == files.end()) 178 for (file_map_t::iterator i = files.begin(); i != files.end(); ++i) { 183 for (dir_map_t::iterator i = dirs.begin(); i != dirs.end(); ++i) { 250 if (i != files.end()) 302 if (i != files.end()) {
|
H A D | addr_range.hh | 77 /// Private fields for the start and end of the range 122 * @param _end The end address of this range (not included in the range) 155 * @param _end The end address of this range (not included in the range) 229 fatal("Can only merge ranges with the same start, end " 298 * Get the end address of the range. 300 Addr end() const { return _end; } function in class:AddrRange 509 // for now assume that the end is also the same, and that 536 RangeEx(Addr start, Addr end) argument 537 { return AddrRange(start, end - 1); } 540 RangeIn(Addr start, Addr end) argument [all...] |
/gem5/ext/libfdt/ |
H A D | fdt_sw.c | 195 fdt32_t *end; local 203 end = _fdt_grab_space(fdt, sizeof(*end)); 204 if (! end) 206 *end = cpu_to_fdt32(FDT_END);
|
/gem5/src/cpu/pred/ |
H A D | simple_indirect.cc | 102 for (auto way = iset.begin(); way != iset.end(); ++way) { 151 while (squash_itr != t_info.pathHist.end()) { 157 if (squash_itr != t_info.pathHist.end()) { 161 t_info.pathHist.erase(squash_itr, t_info.pathHist.end()); 195 for (auto way = iset.begin(); way != iset.end(); ++way) {
|
/gem5/src/cpu/o3/ |
H A D | inst_queue_impl.hh | 425 readyIt[i] = listOrder.end(); 508 list<ThreadID>::iterator end = activeThreads->end(); local 510 while (threads != end) { 710 ListOrderIt list_end_it = listOrder.end(); 730 // Determine if the next item is either the end of the list or younger 742 while (next_it != listOrder.end() && 794 // While I haven't exceeded bandwidth or reached the end of the list, 803 ListOrderIt order_end_it = listOrder.end(); 828 readyIt[op_class] = listOrder.end(); [all...] |
/gem5/src/dev/net/ |
H A D | sinic.cc | 382 if (vnic.rxIndex == rxFifo.end()) { 689 rxFifoPtr = rxFifo.end(); 699 virtualRegs[i].rxIndex = rxFifo.end(); 707 DPRINTF(EthernetDMA, "end rx dma write paddr=%#x len=%d\n", 753 PacketFifo::iterator end = rxFifo.end(); local 758 if (vn->rxIndex != end) { 790 if (vnic->rxIndex == rxFifo.end()) 810 if (rxFifoPtr == rxFifo.end()) { 921 vnic->rxIndex = rxFifo.end(); 1341 VirtualList::const_iterator i, end; local [all...] |
H A D | etherswitch.cc | 82 fifo.emplace_hint(fifo.end(), ptr, curTick(), senderId); 84 // Drop the extra pushed packets from end of the fifo 87 std::prev(fifo.end())->packet->length); 89 _size -= std::prev(fifo.end())->packet->length; 90 fifo.erase(std::prev(fifo.end())); 218 if (it == parent->forwardingTable.end()) { 246 if (it == parent->forwardingTable.end()) {
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_prim_channel.cpp | 176 it = m_pop_queue.begin(), end = m_pop_queue.end(); local 177 while( it!= end ) 387 // Andy Goodrich: moved the modification log to the end of the file to 410 // end of elaboration and issuing appropriate error messages.
|
/gem5/ext/drampower/test/libdrampowertest/ |
H A D | lib_test.cc | 110 // At the end of your simulation call the getEnergy(...) 118 test.counters.numberofactsBanks.end() 121 test.counters.numberofreadsBanks.end() 124 test.counters.numberofpresBanks.end()
|
/gem5/src/systemc/utils/ |
H A D | sc_report.cc | 93 if (it == sc_gem5::reportIdToMsgMap().end()) 103 if (it == sc_gem5::reportIdToMsgMap().end()) 143 if (it == sc_gem5::reportIdToMsgMap().end())
|
/gem5/ext/sst/ |
H A D | ExtMaster.cc | 89 ti.rangeEnd = range.end(); 224 if (ranges.find(range) == ranges.end()) { // i.e. if not found, 227 ti.rangeEnd = range.end();
|
/gem5/src/mem/ |
H A D | external_slave.cc | 189 addrRanges(params->addr_ranges.begin(), params->addr_ranges.end()) 192 if (portHandlers.find("stub") == portHandlers.end()) 206 if (handlerIter == portHandlers.end())
|