Searched refs:stackId (Results 1 – 6 of 6) sorted by relevance
| /developtools/hiperf/src/ |
| D | unique_stack_table.cpp | 117 uint64_t UniqueStackTable::PutIpsInTable(StackId *stackId, u64 *ips, u64 nr) in PutIpsInTable() argument 137 stackId->section.id = prev; in PutIpsInTable() 138 stackId->section.nr = nr; in PutIpsInTable() 158 Node* UniqueStackTable::GetFrame(uint64_t stackId) in GetFrame() argument 161 if (stackId >= totalNodes_) { in GetFrame() 163 HLOGE("Failed to find frame by index: %" PRIu64 "", stackId); in GetFrame() 167 return (Node *)&tableHead_[stackId]; in GetFrame() 170 bool UniqueStackTable::GetIpsByStackId(StackId stackId, std::vector<u64>& ips) in GetIpsByStackId() argument 176 uint64_t nr = stackId.section.nr; in GetIpsByStackId() 177 uint64_t tailIdx = stackId.section.id; in GetIpsByStackId()
|
| D | virtual_runtime.cpp | 361 StackId stackId; in DedupFromRecord() local 362 stackId.value = 0; in DedupFromRecord() 372 while (table->PutIpsInTable(&stackId, ips, nr) == 0) { in DedupFromRecord() 382 recordSample->stackId_.value = stackId.value; in DedupFromRecord() 383 recordSample->header.size -= (sizeof(u64) * nr - sizeof(stackId)); in DedupFromRecord()
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | unique_stack_table_test.cpp | 80 StackId stackId = {0}; variable 84 EXPECT_NE(table->PutIpsInTable(&stackId, baseips, sizeof(baseips)/sizeof(uint64_t)), 0); 87 EXPECT_NE(stackId.value, 0); 96 table->GetIpsByStackId(stackId, checkbaseips); 119 StackId stackId = {0}; variable 121 EXPECT_EQ(table->PutIpsInTable(&stackId, baseips, sizeof(baseips)/sizeof(uint64_t)), 0);
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | stack_preprocess.cpp | 423 uint32_t stackId = 0; in SetCallStackMap() local 425 stackId = responseLibraryMap_.size() + 1; in SetCallStackMap() 427 stackId = callStackMap_.size() + 1; in SetCallStackMap() 429 stackmap->set_id(stackId); in SetCallStackMap() 442 responseLibraryMap_[callStack_[0]] = stackId; in SetCallStackMap() 444 callStackMap_[callStack_] = stackId; in SetCallStackMap() 446 return stackId; in SetCallStackMap() 473 uint32_t stackId = FindCallStackId(callStack_); in GetCallStackId() local 474 if (stackId > 0) { in GetCallStackId() 475 return stackId; in GetCallStackId() [all …]
|
| /developtools/hiperf/include/ |
| D | unique_stack_table.h | 94 uint64_t PutIpsInTable(StackId *stackId, u64 *ips, u64 nr); 95 bool GetIpsByStackId(const StackId stackId, std::vector<u64>& ips); 122 Node* GetFrame(uint64_t stackId);
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | stack_preprocess.h | 114 BatchNativeHookData& batchNativeHookData, T* event, uint32_t stackId); 119 void SetAllocStatisticsData(const RawStackPtr& rawStack, size_t stackId, bool isExists = false);
|