Home
last modified time | relevance | path

Searched refs:tableSize_ (Results 1 – 2 of 2) sorted by relevance

/developtools/hiperf/src/
Dunique_stack_table.cpp24 totalNodes_ = ((tableSize_ / sizeof(Node)) >> 1) << 1; // make it even. in Init()
33 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()
150 size += sizeof(tableSize_); in GetWriteSize()
195 if (index >= tableSize_) { in ImportNode()
/developtools/hiperf/include/
Dunique_stack_table.h85 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; variable