Lines Matching defs:CodeEntry
48 class CodeEntry {
50 // CodeEntry doesn't own name strings, just references them.
51 inline CodeEntry(Logger::LogEventsAndTags tag,
53 const char* name_prefix = CodeEntry::kEmptyNamePrefix,
54 const char* resource_name = CodeEntry::kEmptyResourceName,
57 ~CodeEntry();
85 bool IsSameAs(CodeEntry* entry) const;
104 DISALLOW_COPY_AND_ASSIGN(CodeEntry);
112 inline ProfileNode(ProfileTree* tree, CodeEntry* entry);
114 ProfileNode* FindChild(CodeEntry* entry);
115 ProfileNode* FindOrAddChild(CodeEntry* entry);
119 CodeEntry* entry() const { return entry_; }
128 return reinterpret_cast<CodeEntry*>(entry1)->IsSameAs(
129 reinterpret_cast<CodeEntry*>(entry2));
132 static uint32_t CodeEntryHash(CodeEntry* entry) {
137 CodeEntry* entry_;
139 // Mapping from CodeEntry* to ProfileNode*
153 ProfileNode* AddPathFromEnd(const Vector<CodeEntry*>& path);
154 void AddPathFromStart(const Vector<CodeEntry*>& path);
166 CodeEntry root_entry_;
179 void AddPath(TimeTicks timestamp, const Vector<CodeEntry*>& path);
212 void AddCode(Address addr, CodeEntry* entry, unsigned size);
214 CodeEntry* FindEntry(Address addr, Address* start = NULL);
221 CodeEntryInfo(CodeEntry* an_entry, unsigned a_size)
223 CodeEntry* entry;
245 // Fake CodeEntry pointer to distinguish shared function entries.
246 static CodeEntry* const kSharedFunctionCodeEntry;
278 CodeEntry* NewCodeEntry(
281 const char* name_prefix = CodeEntry::kEmptyNamePrefix,
282 const char* resource_name = CodeEntry::kEmptyResourceName,
288 TimeTicks timestamp, const Vector<CodeEntry*>& path);
295 List<CodeEntry*> code_entries_;
323 CodeEntry* EntryForVMState(StateTag tag);
327 CodeEntry* program_entry_;
328 CodeEntry* idle_entry_;
329 CodeEntry* gc_entry_;
330 CodeEntry* unresolved_entry_;