Searched refs:CallChainJoiner (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | CallChainJoiner_test.cpp | 168 CallChainJoiner joiner(sizeof(CacheNode) * 1024, 1, true); in TEST_F() 171 joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_OFFLINE, {1, 2, 3}, {1, 2, 3})); in TEST_F() 173 joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_REMOTE, {3, 4, 5}, {3, 4, 5})); in TEST_F() 174 ASSERT_TRUE(joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_OFFLINE, {1, 4}, {1, 4})); in TEST_F() 179 CallChainJoiner::ChainType type; in TEST_F() 188 ASSERT_EQ(type, CallChainJoiner::ORIGINAL_OFFLINE); in TEST_F() 192 ASSERT_EQ(type, CallChainJoiner::JOINED_OFFLINE); in TEST_F() 201 ASSERT_EQ(type, i == 0u ? CallChainJoiner::ORIGINAL_REMOTE : CallChainJoiner::JOINED_REMOTE); in TEST_F() 210 ASSERT_EQ(type, CallChainJoiner::ORIGINAL_OFFLINE); in TEST_F() 214 ASSERT_EQ(type, CallChainJoiner::JOINED_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() 205 static bool ReadCallChain(FILE* fp, pid_t& pid, pid_t& tid, CallChainJoiner::ChainType& type, in ReadCallChain() 232 CallChainJoiner::ChainType& type, in ReadCallChainInReverseOrder() 269 CallChainJoiner::CallChainJoiner(size_t cache_size, size_t matched_node_count_to_extend_callchain, in CallChainJoiner() function in simpleperf::CallChainJoiner 279 CallChainJoiner::~CallChainJoiner() { in ~CallChainJoiner() 288 bool CallChainJoiner::AddCallChain(pid_t pid, pid_t tid, ChainType type, in AddCallChain() 325 bool CallChainJoiner::JoinCallChains() { in JoinCallChains() 381 bool CallChainJoiner::GetNextCallChain(pid_t& pid, pid_t& tid, ChainType& type, in GetNextCallChain() 405 void CallChainJoiner::DumpStat() { in DumpStat()
|
D | CallChainJoiner.h | 140 class CallChainJoiner { 143 CallChainJoiner(size_t cache_size, size_t matched_node_count_to_extend_callchain, 145 ~CallChainJoiner();
|
D | cmd_record.cpp | 422 std::unique_ptr<CallChainJoiner> callchain_joiner_; 525 callchain_joiner_.reset(new CallChainJoiner(DEFAULT_CALL_CHAIN_JOINER_CACHE_SIZE, in PrepareRecording() 1599 CallChainJoiner::ORIGINAL_OFFLINE, ips, sps)) { in UnwindRecord() 1715 CallChainJoiner::ChainType type; in JoinCallChains() 1721 CHECK_EQ(type, CallChainJoiner::JOINED_OFFLINE); in JoinCallChains()
|
D | record.cpp | 1176 CallChainRecord::CallChainRecord(pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in CallChainRecord() 1205 case CallChainJoiner::ORIGINAL_OFFLINE: in DumpData() 1208 case CallChainJoiner::ORIGINAL_REMOTE: in DumpData() 1211 case CallChainJoiner::JOINED_OFFLINE: in DumpData() 1214 case CallChainJoiner::JOINED_REMOTE: in DumpData()
|
D | Android.bp | 239 "CallChainJoiner.cpp",
|
D | record.h | 587 CallChainRecord(pid_t pid, pid_t tid, simpleperf::CallChainJoiner::ChainType type, uint64_t time,
|