Home
last modified time | relevance | path

Searched refs:CallChainJoiner (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/
DCallChainJoiner_test.cpp169 CallChainJoiner joiner(sizeof(CacheNode) * 1024, 1, true); in TEST_F()
171 ASSERT_TRUE(joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_OFFLINE, in TEST_F()
173 ASSERT_TRUE(joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_REMOTE, in TEST_F()
175 ASSERT_TRUE(joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_OFFLINE, in TEST_F()
181 CallChainJoiner::ChainType type; in TEST_F()
190 ASSERT_EQ(type, CallChainJoiner::ORIGINAL_OFFLINE); in TEST_F()
194 ASSERT_EQ(type, CallChainJoiner::JOINED_OFFLINE); in TEST_F()
203 ASSERT_EQ(type, i == 0u ? CallChainJoiner::ORIGINAL_REMOTE in TEST_F()
204 : CallChainJoiner::JOINED_REMOTE); in TEST_F()
213 ASSERT_EQ(type, CallChainJoiner::ORIGINAL_OFFLINE); in TEST_F()
[all …]
DCallChainJoiner.cpp177 static bool WriteCallChain(FILE* fp, pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in WriteCallChain()
206 static bool ReadCallChain(FILE* fp, pid_t& pid, pid_t& tid, CallChainJoiner::ChainType& type, in ReadCallChain()
233 CallChainJoiner::ChainType& type, in ReadCallChainInReverseOrder()
271 CallChainJoiner::CallChainJoiner(size_t cache_size, size_t matched_node_count_to_extend_callchain, in CallChainJoiner() function in simpleperf::CallChainJoiner
281 CallChainJoiner::~CallChainJoiner() { in ~CallChainJoiner()
290 bool CallChainJoiner::AddCallChain(pid_t pid, pid_t tid, ChainType type, in AddCallChain()
327 bool CallChainJoiner::JoinCallChains() { in JoinCallChains()
384 bool CallChainJoiner::GetNextCallChain(pid_t& pid, pid_t& tid, ChainType& type, in GetNextCallChain()
409 void CallChainJoiner::DumpStat() { in DumpStat()
DCallChainJoiner.h144 class CallChainJoiner {
147 CallChainJoiner(size_t cache_size, size_t matched_node_count_to_extend_callchain,
149 ~CallChainJoiner();
Dcmd_debug_unwind.cpp130 CallChainJoiner callchain_joiner_;
261 CallChainJoiner::ORIGINAL_OFFLINE, ips, sps)) { in ProcessRecord()
324 CallChainJoiner::ChainType type; in JoinCallChains()
334 } while (type != CallChainJoiner::JOINED_OFFLINE); in JoinCallChains()
Dcmd_record.cpp383 std::unique_ptr<CallChainJoiner> callchain_joiner_;
464 callchain_joiner_.reset(new CallChainJoiner(DEFAULT_CALL_CHAIN_JOINER_CACHE_SIZE, in PrepareRecording()
1553 CallChainJoiner::ORIGINAL_OFFLINE, ips, sps); in UnwindRecord()
1620 CallChainJoiner::ChainType type; in JoinCallChains()
1626 CHECK_EQ(type, CallChainJoiner::JOINED_OFFLINE); in JoinCallChains()
Drecord.cpp1188 CallChainRecord::CallChainRecord(pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in CallChainRecord()
1217 case CallChainJoiner::ORIGINAL_OFFLINE: type_name = "ORIGINAL_OFFLINE"; break; in DumpData()
1218 case CallChainJoiner::ORIGINAL_REMOTE: type_name = "ORIGINAL_REMOTE"; break; in DumpData()
1219 case CallChainJoiner::JOINED_OFFLINE: type_name = "JOINED_OFFLINE"; break; in DumpData()
1220 case CallChainJoiner::JOINED_REMOTE: type_name = "JOINED_REMOTE"; break; in DumpData()
DAndroid.bp267 "CallChainJoiner.cpp",
Drecord.h597 CallChainRecord(pid_t pid, pid_t tid, simpleperf::CallChainJoiner::ChainType type, uint64_t time,