Lines Matching refs:CodeEntry

46 const char* const CodeEntry::kEmptyNamePrefix = "";
47 const char* const CodeEntry::kEmptyResourceName = "";
48 const char* const CodeEntry::kEmptyBailoutReason = "";
49 const char* const CodeEntry::kNoDeoptReason = "";
51 const char* const CodeEntry::kProgramEntryName = "(program)";
52 const char* const CodeEntry::kIdleEntryName = "(idle)";
53 const char* const CodeEntry::kGarbageCollectorEntryName = "(garbage collector)";
54 const char* const CodeEntry::kUnresolvedFunctionName = "(unresolved function)";
56 base::LazyDynamicInstance<CodeEntry, CodeEntry::ProgramEntryCreateTrait>::type
57 CodeEntry::kProgramEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
59 base::LazyDynamicInstance<CodeEntry, CodeEntry::IdleEntryCreateTrait>::type
60 CodeEntry::kIdleEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
62 base::LazyDynamicInstance<CodeEntry, CodeEntry::GCEntryCreateTrait>::type
63 CodeEntry::kGCEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
65 base::LazyDynamicInstance<CodeEntry,
66 CodeEntry::UnresolvedEntryCreateTrait>::type
67 CodeEntry::kUnresolvedEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
69 CodeEntry* CodeEntry::ProgramEntryCreateTrait::Create() { in Create()
70 return new CodeEntry(Logger::FUNCTION_TAG, CodeEntry::kProgramEntryName); in Create()
73 CodeEntry* CodeEntry::IdleEntryCreateTrait::Create() { in Create()
74 return new CodeEntry(Logger::FUNCTION_TAG, CodeEntry::kIdleEntryName); in Create()
77 CodeEntry* CodeEntry::GCEntryCreateTrait::Create() { in Create()
78 return new CodeEntry(Logger::BUILTIN_TAG, in Create()
79 CodeEntry::kGarbageCollectorEntryName); in Create()
82 CodeEntry* CodeEntry::UnresolvedEntryCreateTrait::Create() { in Create()
83 return new CodeEntry(Logger::FUNCTION_TAG, in Create()
84 CodeEntry::kUnresolvedFunctionName); in Create()
87 CodeEntry::~CodeEntry() { in ~CodeEntry()
97 uint32_t CodeEntry::GetHash() const { in GetHash()
120 bool CodeEntry::IsSameFunctionAs(CodeEntry* entry) const { in IsSameFunctionAs()
131 void CodeEntry::SetBuiltinId(Builtins::Name id) { in SetBuiltinId()
137 int CodeEntry::GetSourceLine(int pc_offset) const { in GetSourceLine()
144 void CodeEntry::AddInlineStack(int pc_offset, in AddInlineStack()
145 std::vector<CodeEntry*> inline_stack) { in AddInlineStack()
149 const std::vector<CodeEntry*>* CodeEntry::GetInlineStack(int pc_offset) const { in GetInlineStack()
154 void CodeEntry::AddDeoptInlinedFrames( in AddDeoptInlinedFrames()
160 bool CodeEntry::HasDeoptInlinedFramesFor(int deopt_id) const { in HasDeoptInlinedFramesFor()
164 void CodeEntry::FillFunctionInfo(SharedFunctionInfo* shared) { in FillFunctionInfo()
172 CpuProfileDeoptInfo CodeEntry::GetDeoptInfo() { in GetDeoptInfo()
188 void ProfileNode::CollectDeoptInfo(CodeEntry* entry) { in CollectDeoptInfo()
194 ProfileNode* ProfileNode::FindChild(CodeEntry* entry) { in FindChild()
202 ProfileNode* ProfileNode::FindOrAddChild(CodeEntry* entry) { in FindOrAddChild()
271 bailout_reason != CodeEntry::kEmptyBailoutReason) { in Print()
308 CodeEntry* code_entry = node->entry(); in GetFunctionId()
317 ProfileNode* ProfileTree::AddPathFromEnd(const std::vector<CodeEntry*>& path, in AddPathFromEnd()
320 CodeEntry* last_entry = NULL; in AddPathFromEnd()
406 const std::vector<CodeEntry*>& path, int src_line, in AddPath()
425 const CodeEntry* entry = node->entry(); in BuildNodeValue()
509 void CodeMap::AddCode(Address addr, CodeEntry* entry, unsigned size) { in AddCode()
525 CodeEntry* CodeMap::FindEntry(Address addr) { in FindEntry()
626 base::TimeTicks timestamp, const std::vector<CodeEntry*>& path, in AddPathToCurrentProfiles()
643 std::vector<CodeEntry*> entries; in RecordTickSample()
663 CodeEntry* pc_entry = FindEntry(sample.pc); in RecordTickSample()
693 entries.push_back(CodeEntry::unresolved_entry()); in RecordTickSample()
701 CodeEntry* entry = FindEntry(stack_pos); in RecordTickSample()
706 const std::vector<CodeEntry*>* inline_stack = in RecordTickSample()
744 CodeEntry* ProfileGenerator::FindEntry(void* address) { in FindEntry()
745 CodeEntry* entry = code_map_.FindEntry(reinterpret_cast<Address>(address)); in FindEntry()
753 entry = new CodeEntry(CodeEventListener::FUNCTION_TAG, counter->name, in FindEntry()
754 CodeEntry::kEmptyNamePrefix, "native V8Runtime"); in FindEntry()
761 CodeEntry* ProfileGenerator::EntryForVMState(StateTag tag) { in EntryForVMState()
764 return CodeEntry::gc_entry(); in EntryForVMState()
772 return CodeEntry::program_entry(); in EntryForVMState()
774 return CodeEntry::idle_entry(); in EntryForVMState()