Home
last modified time | relevance | path

Searched refs:func_ (Results 1 – 3 of 3) sorted by relevance

/developtools/hiperf/include/
Dreport.h36 std::string_view func_;
44 : func_(func), in ReportItemCallFrame()
100 selfEventCount_, func_.data(), dso_.data(), vaddr_, childs.size()); in ToDebugString()
106 return (func_ == b.func_) and (vaddr_ == b.vaddr_) and (dso_ == b.dso_); in Same()
119 std::string_view func_ = ""; variable
134 func_(func), in ReportItem()
148 func_(func), in ReportItem()
169 return StringPrintf("%d:%d:%s-%s(%s):%zu i:%llu", pid_, tid_, comm_.data(), func_.data(), in ToDebugString()
236 return a.func_.compare(b.func_); in CompareFunc()
240 return StringPrintf(format.c_str(), len, a.func_.data()); in GetFunc()
[all …]
/developtools/hiperf/test/unittest/common/native/
Dreport_test.cpp336 GetStringTest(a, ReportItem::GetFunc, a.func_, a.func_.length());
660 ASSERT_STREQ(dummy100.callStacks_[0].func_.data(), "funcA");
661 ASSERT_STREQ(dummy200.callStacks_[0].func_.data(), "funcA");
674 ASSERT_STREQ(dummy100.callStacks_[0].func_.data(), "funcA");
677 ASSERT_STREQ(dummy100.callStacks_[0].childs[0].func_.data(), "funcB");
680 ASSERT_STREQ(dummy100.callStacks_[0].childs[1].func_.data(), "funcC");
684 ASSERT_STREQ(dummy100.callStacks_[0].childs[0].childs[0].func_.data(), "funcC");
741 ASSERT_STREQ(reportItems[1].callStacks_[0].func_.data(), "frame4");
745 ASSERT_STREQ(reportItems[1].callStacks_[0].childs[0].func_.data(), "frame3");
749 ASSERT_STREQ(reportItems[1].callStacks_[0].childs[0].childs[0].func_.data(), "frame2");
[all …]
/developtools/hiperf/src/
Dreport.cpp51 HLOG_ASSERT(!item.func_.empty()); in AddReportItem()
77 HLOG_ASSERT(!item.func_.empty()); in AddReportItem()
288 HLOGM("l %" PRIu64 " %s c:%zu vs r %" PRIu64 " %s c:%zu", l.eventCount_, l.func_.data(), in MultiLevelSameAndUpdateCount()
289 l.callStacks_.size(), r.eventCount_, r.func_.data(), r.callStacks_.size()); in MultiLevelSameAndUpdateCount()
464 if (!OutputStdCallFrame(indent, callFrame.func_, callFrame.eventCount_, totalEventCount)) { in OutputStdCallFrames()
479 HLOGV("childCallFream %*c %s", indent, ' ', callFrame.childs[0].func_.data()); in OutputStdCallFrames()
485 HLOGV("childCallFream %*c %s", indent, ' ', childCallFrame.func_.data()); in OutputStdCallFrames()