|
V8 Project
|
#include <profile-generator.h>
Collaboration diagram for v8::internal::CodeMap:Classes | |
| struct | CodeEntryInfo |
| struct | CodeTreeConfig |
| class | CodeTreePrinter |
Public Member Functions | |
| CodeMap () | |
| void | AddCode (Address addr, CodeEntry *entry, unsigned size) |
| void | MoveCode (Address from, Address to) |
| CodeEntry * | FindEntry (Address addr, Address *start=NULL) |
| int | GetSharedId (Address addr) |
| void | Print () |
Private Types | |
| typedef SplayTree< CodeTreeConfig > | CodeTree |
Private Member Functions | |
| void | DeleteAllCoveredCode (Address start, Address end) |
| DISALLOW_COPY_AND_ASSIGN (CodeMap) | |
Private Attributes | |
| CodeTree | tree_ |
| int | next_shared_id_ |
Static Private Attributes | |
| static CodeEntry *const | kSharedFunctionCodeEntry = NULL |
Definition at line 210 of file profile-generator.h.
|
private |
Definition at line 237 of file profile-generator.h.
|
inline |
Definition at line 212 of file profile-generator.h.
Definition at line 354 of file profile-generator.cc.
References DeleteAllCoveredCode(), v8::internal::SplayTree< Config, AllocationPolicy >::Insert(), size, and tree_.
Referenced by MoveCode().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 362 of file profile-generator.cc.
References v8::internal::List< T, AllocationPolicy >::Add(), v8::internal::SplayTree< Config, AllocationPolicy >::FindGreatestLessThan(), v8::internal::SplayTree< Config, AllocationPolicy >::Remove(), and tree_.
Referenced by AddCode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 376 of file profile-generator.cc.
References v8::internal::CodeMap::CodeEntryInfo::entry, v8::internal::SplayTree< Config, AllocationPolicy >::FindGreatestLessThan(), NULL, v8::internal::CodeMap::CodeEntryInfo::size, and tree_.
Referenced by v8::internal::ProfileGenerator::RecordTickSample().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 392 of file profile-generator.cc.
References DCHECK, v8::internal::CodeMap::CodeEntryInfo::entry, v8::internal::SplayTree< Config, AllocationPolicy >::Find(), v8::internal::SplayTree< Config, AllocationPolicy >::Insert(), kSharedFunctionCodeEntry, next_shared_id_, v8::internal::CodeMap::CodeEntryInfo::size, and tree_.
Here is the call graph for this function:Definition at line 408 of file profile-generator.cc.
References AddCode(), v8::internal::CodeMap::CodeEntryInfo::entry, v8::internal::SplayTree< Config, AllocationPolicy >::Find(), v8::internal::SplayTree< Config, AllocationPolicy >::Remove(), v8::internal::CodeMap::CodeEntryInfo::size, to(), and tree_.
Here is the call graph for this function:| void v8::internal::CodeMap::Print | ( | ) |
Definition at line 429 of file profile-generator.cc.
References v8::internal::SplayTree< Config, AllocationPolicy >::ForEach(), and tree_.
Here is the call graph for this function:Definition at line 247 of file profile-generator.h.
Referenced by v8::internal::CodeMap::CodeTreePrinter::Call(), and GetSharedId().
|
private |
Definition at line 250 of file profile-generator.h.
Referenced by GetSharedId().
|
private |
Definition at line 249 of file profile-generator.h.
Referenced by AddCode(), DeleteAllCoveredCode(), FindEntry(), GetSharedId(), MoveCode(), and Print().