Searched refs:childs (Results 1 – 3 of 3) sorted by relevance
| /developtools/hiperf/test/unittest/common/native/ |
| D | report_test.cpp | 643 ReportItemCallFrame &child2 = child.childs.emplace_back("funcB", 0x1234, "dso", 100, 0); 644 child2.childs.emplace_back("funcC", 0x1234, "dso", 100, 0); 650 child.childs.emplace_back("funcB", 0x1234, "dso", 100, 0); 655 child.childs.emplace_back("funcC", 0x1234, "dso", 100, 0); 677 ASSERT_STREQ(dummy100.callStacks_[0].childs[0].func_.data(), "funcB"); 678 EXPECT_EQ(dummy100.callStacks_[0].childs[0].eventCount_, 200u); 680 ASSERT_STREQ(dummy100.callStacks_[0].childs[1].func_.data(), "funcC"); 681 EXPECT_EQ(dummy100.callStacks_[0].childs[1].eventCount_, 100u); 683 ASSERT_EQ(dummy100.callStacks_[0].childs[0].childs.size(), 1u); 684 ASSERT_STREQ(dummy100.callStacks_[0].childs[0].childs[0].func_.data(), "funcC"); [all …]
|
| /developtools/hiperf/src/ |
| D | report.cpp | 64 currentCallFrames = &nextCallFrame.childs; in AddReportItem() 68 HLOGV("callstack 2nd level %zu", item.callStacks_[0].childs.size()); in AddReportItem() 271 leftCallFrames = &(leftFrameIt->childs); in MergeCallFrameCount() 279 rightCallFrames = &(rightFrame.childs); in MergeCallFrameCount() 477 if (callFrame.childs.size() == 1u and in OutputStdCallFrames() 478 callFrame.childs[0].eventCount_ == callFrame.eventCount_) { in OutputStdCallFrames() 479 HLOGV("childCallFream %*c %s", indent, ' ', callFrame.childs[0].func_.data()); in OutputStdCallFrames() 481 OutputStdCallFrames(indent, callFrame.childs[0], callFrame.eventCount_); in OutputStdCallFrames() 484 for (const ReportItemCallFrame &childCallFrame : callFrame.childs) { in OutputStdCallFrames()
|
| /developtools/hiperf/include/ |
| D | report.h | 41 std::vector<ReportItemCallFrame> childs; variable 76 if (callframe.childs.size() > 0) { 77 OrderCallFrames(callframe.childs, indent + i); 90 if (callframe.childs.size() > 0) { 91 DumpCallFrames(callframe.childs, indent + y); 100 selfEventCount_, func_.data(), dso_.data(), vaddr_, childs.size()); in ToDebugString()
|