| /developtools/profiler/host/smartperf/trace_streamer/src/base/ |
| D | index_map.cpp | 24 IndexMap::IndexMap(TableRowId start, TableRowId end) : end_(end), current_(start), start_(start), t… in IndexMap() 34 for (auto i = start_; i < end_; i++) { in CovertToIndexMap() 38 end_ = rowIndex_.size(); in CovertToIndexMap() 76 end_ = rowIndex_.size(); in Intersect() 79 end_ = std::min(end_, end); in Intersect() 87 return end_ - start_; in Size() 97 if (current_ < end_) { in Next() 120 Intersect(v, end_); in FilterId() 124 Intersect(v, end_); in FilterId() 169 … ((other->start_ >= start_ && other->start_ <= end_) || (start_ >= other->start_ && start_ <= othe… in Merge() [all …]
|
| D | parting_string.cpp | 22 end_ = str_.end(); in PartingString() 28 while (begin_ != end_) { in Next() 41 begin_ = end_; in Next() 44 } while (begin_++ != end_); in Next()
|
| D | index_map.h | 256 end_ = rowIndex_.size(); in FixSize() 267 end_ = std::min(end_, end); in Set() 287 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v); in IntersectabcEqual() 288 auto end = std::upper_bound(start, rows.begin() + end_, v); in IntersectabcEqual() 298 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v, in IntersectGreaterEqual() 308 auto end = std::upper_bound(rows.begin() + start_, rows.begin() + end_, v, in IntersectLessEqual() 349 TableRowId end_ = INVALID_INT32;
|
| D | parting_string.h | 41 std::string::iterator end_; variable
|
| /developtools/smartperf_host/trace_streamer/src/base/ |
| D | index_map.cpp | 24 IndexMap::IndexMap(TableRowId start, TableRowId end) : end_(end), current_(start), start_(start) {} in IndexMap() 34 for (auto i = start_; i < end_; i++) { in CovertToIndexMap() 38 end_ = rowIndex_.size(); in CovertToIndexMap() 76 end_ = rowIndex_.size(); in Intersect() 79 end_ = std::min(end_, end); in Intersect() 87 return end_ - start_; in Size() 97 if (current_ < end_) { in Next() 120 Intersect(v, end_); in FilterId() 124 Intersect(v, end_); in FilterId() 171 … ((other->start_ >= start_ && other->start_ <= end_) || (start_ >= other->start_ && start_ <= othe… in Merge() [all …]
|
| D | parting_string.cpp | 22 end_ = str_.end(); in PartingString() 28 while (begin_ != end_) { in Next() 41 begin_ = end_; in Next() 44 } while (begin_++ != end_); in Next()
|
| D | index_map.h | 128 end_ = rowIndex_.size(); in FixSize() 139 end_ = std::min(end_, end); in Set() 159 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v); in IntersectabcEqual() 160 auto end = std::upper_bound(start, rows.begin() + end_, v); in IntersectabcEqual() 170 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v, in IntersectGreaterEqual() 180 auto end = std::upper_bound(rows.begin() + start_, rows.begin() + end_, v, in IntersectLessEqual() 221 TableRowId end_ = INVALID_INT32;
|
| D | parting_string.h | 41 std::string::iterator end_; variable
|
| /developtools/profiler/device/plugins/memory_plugin/src/ |
| D | buffer_splitter.cpp | 22 end_ = next_ + size; in BufferSplitter() 37 if (next_ < end_) { in NextLine() 40 for (; next_ < end_; next_++) { in NextLine() 46 if (++next_ >= end_) { in NextLine() 47 curLineSize_ = static_cast<size_t>(end_ - curLine_ - 1); in NextLine() 49 nextLine_ = end_; in NextLine()
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | mem_map_item.h | 41 : begin_(begin), end_(end), type_(type), pageoffset_(offset), nameHold_(nameHold) {} in MemMapItem() 43 uint64_t end_ {0}; 63 uint64_t end_ = 0; variable 77 : begin_(begin), end_(end), pageoffset_(offset), name_(name), in MemMapItem() 90 return end_ < other.end_; 104 sstream << "-0x" << std::hex << end_; in ToString() 127 return addr >= begin_ and addr < end_; in Contain()
|
| /developtools/hiperf/include/ |
| D | mem_map_item.h | 31 uint64_t end_ = 0; variable 45 end_(end), in MemMapItem() 60 return end_ < other.end_; 74 sstream << "-0x" << std::hex << end_; in ToString() 97 return addr >= begin_ and addr < end_; in Contain()
|
| /developtools/hiperf/src/ |
| D | virtual_thread.cpp | 37 if (memMaps_[memMapsIndexs_[index - 1]].end_ > memMaps_[memMapsIndexs_[index]].begin_) { in IsSorted() 40 << memMaps_[memMapsIndexs_[index - 1]].end_ in IsSorted() 42 << memMaps_[memMapsIndexs_[index]].end_; in IsSorted() 83 if (memMaps_[memMapsIndexs_[memMapsIndexs_.size() - 1]].end_ <= addr) { in FindMapIndexByAddr() 91 if (addr < memMaps_[memMapsIndexs_[mid]].end_) { in FindMapIndexByAddr() 96 if (addr >= memMaps_[memMapsIndexs_[mid]].end_) { in FindMapIndexByAddr() 102 … if (addr >= memMaps_[memMapsIndexs_[left]].begin_ && addr < memMaps_[memMapsIndexs_[left]].end_) { in FindMapIndexByAddr() 117 if (memMaps_[memMapsIndexs_[memMapsIndexs_.size() - 1]].end_ <= addr) { in FindMapByAddr() 125 if (addr < memMaps_[memMapsIndexs_[mid]].end_) { in FindMapByAddr() 130 if (addr >= memMaps_[memMapsIndexs_[mid]].end_) { in FindMapByAddr() [all …]
|
| D | virtual_runtime.cpp | 111 memMapItem.begin_, memMapItem.end_, memMapItem.pageoffset_); in CreateThread() 194 map.end_ - map.begin_, 0, map.name_); in UpdateKernelModulesSpaceMaps() 208 map.end_ - map.begin_, 0, map.name_); in UpdateKernelSpaceMaps() 265 it->end_ = end; in UpdatekernelMap() 503 if (ip > map.begin_ && ip < map.end_) { in GetKernelSymbol() 505 ip, map.begin_, map.end_, map.name_.c_str()); in GetKernelSymbol() 538 map.begin_, map.end_, map.name_.c_str()); in GetKernelSymbol() 715 std::string memory(map.end_ - map.begin_, '\0'); in LoadVdso() 716 std::copy(reinterpret_cast<char *>((map.begin_)), reinterpret_cast<char *>((map.end_)), in LoadVdso()
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | virtual_thread.cpp | 37 if ((*memMaps_)[index - 1].end_ > (*memMaps_)[index].begin_) { in IsSorted() 39 … << " " << (*memMaps_)[index - 1].begin_ << "-" << (*memMaps_)[index - 1].end_ in IsSorted() 40 << " " << (*memMaps_)[index].begin_ << "-" << (*memMaps_)[index].end_; in IsSorted() 85 if (memMaps_->back().end_ <= addr) { in FindMapByAddr() 93 if (addr < (*memMaps_)[mid].end_) { in FindMapByAddr() 98 if (addr >= (*memMaps_)[mid].end_) { in FindMapByAddr() 104 if (addr >= (*memMaps_)[left].begin_ and addr < (*memMaps_)[left].end_) { in FindMapByAddr() 141 (offset - curMemMapItem->pageoffset_) < (curMemMapItem->end_ - curMemMapItem->begin_)) { in FindMapByOffset() 144 offset, curMemMapItem->begin_, curMemMapItem->end_, in FindMapByOffset() 160 if (offset >= map.pageoffset_ && (offset - map.pageoffset_) < (map.end_ - map.begin_)) { in FindMapByFileInfo() [all …]
|
| D | virtual_runtime.cpp | 300 if (ip > map.begin_ && ip < map.end_) { in GetKernelSymbol() 302 ip, map.begin_, map.end_, map.name_.c_str()); in GetKernelSymbol() 330 map.begin_, map.end_, map.name_.c_str()); in GetKernelSymbol() 446 MemMaps(memMapItem.begin_, memMapItem.end_, memMapItem.pageoffset_, in FillMapsCache() 452 curMemMaps.soEnd_ = memMapItem.end_; in FillMapsCache() 453 curMemMaps.maps_.back().end_ = memMapItem.begin_; in FillMapsCache() 454 curMemMaps.maps_.emplace_back(memMapItem.begin_, memMapItem.end_, memMapItem.type_, in FillMapsCache() 499 curMemMaps.maps_.back().end_ = begin; in HandleMapInfo() 527 if (addr >= curMemMapItem->begin_ && addr < curMemMapItem->end_) { in FindMap()
|
| D | call_stack.cpp | 81 di.end_ip = mmap.end_; in fillUDI()
|
| /developtools/profiler/hiebpf/test/unittest/ |
| D | maps_info_test.cpp | 71 mapsItem.end_ = testNum; 78 const uint32_t fixLen = sizeof(mapsItem.start_) + sizeof(mapsItem.end_) + 88 ASSERT_EQ(mapsItem.end_, *end); 89 p += sizeof(mapsItem.end_);
|
| /developtools/profiler/device/plugins/memory_plugin/include/ |
| D | buffer_splitter.h | 67 char* end_; variable
|
| /developtools/profiler/hiebpf/src/ |
| D | maps_info.cpp | 50 … uint32_t fixLen = sizeof(map.start_) + sizeof(map.end_) + sizeof(map.offset_) + sizeof(map.pid_); in GetBinary() 96 mapItem.end_ = std::stoull(addr[1], nullptr, NUMBER_FORMAT_HEX_BASE); in ParseMapsLine()
|
| D | bpf_event_receiver.cpp | 203 mapItem->end = item.end_; in WriteEventMaps()
|
| /developtools/profiler/hiebpf/include/ |
| D | maps_info.h | 30 uint64_t end_ = 0; member
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | virtual_thread_test.cpp | 169 item.end_ = RoundUp(item.begin_ + info->dlpi_phdr[i].p_memsz, info->dlpi_phdr[i].p_align); in MakeMapsFromDlpi() 263 EXPECT_EQ(maps.at(0).end_, 1000u + 2000u); 264 EXPECT_EQ(maps.at(1).end_, 3000u + 4000u); 265 EXPECT_EQ(maps.at(2).end_, 10000u + 20000u);
|
| D | virtual_runtime_test.cpp | 247 kernelMap.end_ = 0 + testKernelLen; in PrepareKernelSymbol()
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | virtual_thread_test.cpp | 160 item.end_ = RoundUp(item.begin_ + info->dlpi_phdr[i].p_memsz, info->dlpi_phdr[i].p_align); in MakeMapsFromDlpi() 256 EXPECT_EQ(maps.at(0).end_, 1000u + 2000u); 257 EXPECT_EQ(maps.at(1).end_, 3000u + 4000u); 258 EXPECT_EQ(maps.at(2).end_, 10000u + 20000u);
|
| D | virtual_runtime_test.cpp | 138 kernelMap.end_ = 0 + TEST_KERNEL_LEN; in PrepareKernelSymbol()
|