Searched refs:CallChainJoiner (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | CallChainJoiner_test.cpp | 169 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 …]
|
D | CallChainJoiner.cpp | 177 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()
|
D | CallChainJoiner.h | 144 class CallChainJoiner { 147 CallChainJoiner(size_t cache_size, size_t matched_node_count_to_extend_callchain, 149 ~CallChainJoiner();
|
D | cmd_debug_unwind.cpp | 130 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()
|
D | cmd_record.cpp | 383 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()
|
D | record.cpp | 1188 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()
|
D | Android.bp | 267 "CallChainJoiner.cpp",
|
D | record.h | 597 CallChainRecord(pid_t pid, pid_t tid, simpleperf::CallChainJoiner::ChainType type, uint64_t time,
|