Home
last modified time | relevance | path

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

/developtools/hiperf/test/unittest/common/native/
Dreport_test.cpp149 std::vector<ReportItemCallFrame> callframes; variable
152 ReportItemCallFrame::OrderCallFrames(callframes);
154 callframes.emplace_back(a100);
155 callframes.emplace_back(a200);
156 callframes.emplace_back(a200);
157 callframes.emplace_back(a300);
160 ReportItemCallFrame::OrderCallFrames(callframes);
161 ASSERT_EQ(callframes.size() == 4u, true);
162 EXPECT_EQ(callframes[0] == a300, true);
163 EXPECT_EQ(callframes[1] == a200, true);
[all …]
/developtools/hiperf/include/
Dreport.h67 static void OrderCallFrames(std::vector<ReportItemCallFrame> &callframes, int indent = 2)
70 if (callframes.size() > 0) {
71 std::sort(callframes.begin(), callframes.end(),
74 for (auto &callframe : callframes) {
84 static void DumpCallFrames(std::vector<ReportItemCallFrame> &callframes, int indent = 2)
87 if (callframes.size() > 0) {
88 for (auto &callframe : callframes) {