Searched refs:tableSize_ (Results 1 - 2 of 2) sorted by relevance
/developtools/hiperf/src/ |
H A D | unique_stack_table.cpp | 27 totalNodes_ = ((tableSize_ / sizeof(Node)) >> 1) << 1; // make it even. in Init() 36 tableBuf_ = std::make_unique<uint8_t[]>(tableSize_); in Init() 56 uint32_t newtableSize = tableSize_ << RESIZE_MULTIPLE; in Resize() 63 if (memcpy_s(newTable.get(), tableSize_, tableBuf_.get(), tableSize_) != 0) { in Resize() 64 HLOGE("%s: memcpy_s(%u) failed, errno: %d", __func__, tableSize_, errno); in Resize() 69 tableSize_ = newtableSize; in Resize() 147 size += sizeof(tableSize_); in GetWriteSize() 186 CHECK_TRUE(index >= tableSize_, false, 0, ""); in ImportNode()
|
/developtools/hiperf/include/ |
H A D | unique_stack_table.h | 85 UniqueStackTable(pid_t pid, uint32_t size) : pid_(pid), tableSize_(size) in UniqueStackTable() 108 return tableSize_; in GetTabelSize() 125 uint32_t tableSize_ = INITIAL_TABLE_SIZE; member in OHOS::Developtools::HiPerf::UniqueStackTable
|
Completed in 2 milliseconds