Home
last modified time | relevance | path

Searched refs:CallChainExecutionType (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Dreport_utils.cpp27 if (entry.execution_type == CallChainExecutionType::NATIVE_METHOD) { in IsArtEntry()
100 CallChainExecutionType execution_type = CallChainExecutionType::NATIVE_METHOD; in Build()
103 execution_type = CallChainExecutionType::INTERPRETED_JVM_METHOD; in Build()
105 execution_type = CallChainExecutionType::JIT_JVM_METHOD; in Build()
120 return entry.execution_type == CallChainExecutionType::ART_METHOD; in Build()
140 if (entry.execution_type == CallChainExecutionType::INTERPRETED_JVM_METHOD || in MarkArtFrame()
141 entry.execution_type == CallChainExecutionType::JIT_JVM_METHOD) { in MarkArtFrame()
149 callchain[j].execution_type = CallChainExecutionType::ART_METHOD; in MarkArtFrame()
155 entry.execution_type = CallChainExecutionType::ART_METHOD; in MarkArtFrame()
165 if (i > 0 && callchain[i - 1].execution_type == CallChainExecutionType::ART_METHOD) { in MarkArtFrame()
[all …]
Dreport_utils_test.cpp123 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
128 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
143 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
148 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
164 ASSERT_EQ(entries[i].execution_type, CallChainExecutionType::ART_METHOD); in TEST_F()
169 ASSERT_EQ(entries[i + 1].execution_type, CallChainExecutionType::ART_METHOD); in TEST_F()
175 ASSERT_EQ(entries[2].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
180 ASSERT_EQ(entries[5].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
200 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
221 ASSERT_EQ(entries[i].execution_type, CallChainExecutionType::NATIVE_METHOD); in TEST_F()
[all …]
Dreport_utils.h31 enum class CallChainExecutionType { enum
46 CallChainExecutionType execution_type = CallChainExecutionType::NATIVE_METHOD;
Dcmd_report_sample.cpp69 CallChainExecutionType type) { in ToProtoExecutionType()
71 case CallChainExecutionType::NATIVE_METHOD: in ToProtoExecutionType()
73 case CallChainExecutionType::INTERPRETED_JVM_METHOD: in ToProtoExecutionType()
75 case CallChainExecutionType::JIT_JVM_METHOD: in ToProtoExecutionType()
77 case CallChainExecutionType::ART_METHOD: in ToProtoExecutionType()