#include <profile-generator.h>
|
| CodeEntry (LogEventListener::CodeTag tag, const char *name, const char *resource_name=CodeEntry::kEmptyResourceName, int line_number=v8::CpuProfileNode::kNoLineNumberInfo, int column_number=v8::CpuProfileNode::kNoColumnNumberInfo, std::unique_ptr< SourcePositionTable > line_info=nullptr, bool is_shared_cross_origin=false, CodeType code_type=CodeType::JS) |
|
| CodeEntry (const CodeEntry &)=delete |
|
CodeEntry & | operator= (const CodeEntry &)=delete |
|
| ~CodeEntry () |
|
const char * | name () const |
|
const char * | resource_name () const |
|
int | line_number () const |
|
int | column_number () const |
|
const SourcePositionTable * | line_info () const |
|
int | script_id () const |
|
void | set_script_id (int script_id) |
|
int | position () const |
|
void | set_position (int position) |
|
void | set_bailout_reason (const char *bailout_reason) |
|
const char * | bailout_reason () const |
|
void | set_deopt_info (const char *deopt_reason, int deopt_id, std::vector< CpuProfileDeoptFrame > inlined_frames) |
|
size_t | EstimatedSize () const |
|
CpuProfileDeoptInfo | GetDeoptInfo () |
|
bool | has_deopt_info () const |
|
void | clear_deopt_info () |
|
const char * | code_type_string () const |
|
Address | instruction_start () const |
|
void | set_instruction_start (Address address) |
|
Address ** | heap_object_location_address () |
|
void | FillFunctionInfo (Tagged< SharedFunctionInfo > shared) |
|
void | SetBuiltinId (Builtin id) |
|
Builtin | builtin () const |
|
bool | is_shared_cross_origin () const |
|
bool | is_ref_counted () const |
|
uint32_t | GetHash () const |
|
bool | IsSameFunctionAs (const CodeEntry *entry) const |
|
int | GetSourceLine (int pc_offset) const |
|
void | SetInlineStacks (std::unordered_set< CodeEntry *, Hasher, Equals > inline_entries, std::unordered_map< int, std::vector< CodeEntryAndLineNumber > > inline_stacks) |
|
const std::vector< CodeEntryAndLineNumber > * | GetInlineStack (int pc_offset) const |
|
LogEventListener::Event | event () const |
|
LogEventListener::CodeTag | code_tag () const |
|
void | ReleaseStrings (StringsStorage &strings) |
|
void | print () const |
|
|
using | EventField = base::BitField<LogEventListener::Event, 0, 4> |
|
using | CodeTagField = base::BitField<LogEventListener::CodeTag, 0, 4> |
|
using | BuiltinField = base::BitField<Builtin, 8, 20> |
|
using | RefCountedField = base::BitField<bool, 28, 1> |
|
using | CodeTypeField = base::BitField<CodeType, 29, 2> |
|
using | SharedCrossOriginField = base::BitField<bool, 31, 1> |
|
Definition at line 63 of file profile-generator.h.
◆ BuiltinField
◆ CodeTagField
◆ CodeTypeField
◆ EventField
◆ RefCountedField
◆ SharedCrossOriginField
◆ CodeType
◆ CodeEntry() [1/2]
◆ CodeEntry() [2/2]
v8::internal::CodeEntry::CodeEntry |
( |
const CodeEntry & | | ) |
|
|
delete |
◆ ~CodeEntry()
v8::internal::CodeEntry::~CodeEntry |
( |
| ) |
|
|
inline |
◆ AddRef()
size_t v8::internal::CodeEntry::AddRef |
( |
| ) |
|
|
inlineprivate |
◆ bailout_reason()
const char * v8::internal::CodeEntry::bailout_reason |
( |
| ) |
const |
|
inline |
◆ builtin()
Builtin v8::internal::CodeEntry::builtin |
( |
| ) |
const |
|
inline |
◆ clear_deopt_info()
void v8::internal::CodeEntry::clear_deopt_info |
( |
| ) |
|
|
inline |
◆ code_tag()
◆ code_type_string()
const char * v8::internal::CodeEntry::code_type_string |
( |
| ) |
const |
|
inline |
◆ column_number()
int v8::internal::CodeEntry::column_number |
( |
| ) |
const |
|
inline |
◆ DecRef()
size_t v8::internal::CodeEntry::DecRef |
( |
| ) |
|
|
inlineprivate |
◆ EnsureRareData()
◆ EstimatedSize()
size_t v8::internal::CodeEntry::EstimatedSize |
( |
| ) |
const |
◆ event()
◆ FillFunctionInfo()
◆ gc_entry()
CodeEntry * v8::internal::CodeEntry::gc_entry |
( |
| ) |
|
|
static |
◆ GetDeoptInfo()
◆ GetHash()
uint32_t v8::internal::CodeEntry::GetHash |
( |
| ) |
const |
◆ GetInlineStack()
◆ GetSourceLine()
int v8::internal::CodeEntry::GetSourceLine |
( |
int | pc_offset | ) |
const |
◆ has_deopt_info()
bool v8::internal::CodeEntry::has_deopt_info |
( |
| ) |
const |
|
inline |
◆ heap_object_location_address()
Address ** v8::internal::CodeEntry::heap_object_location_address |
( |
| ) |
|
|
inline |
◆ idle_entry()
CodeEntry * v8::internal::CodeEntry::idle_entry |
( |
| ) |
|
|
static |
◆ instruction_start()
Address v8::internal::CodeEntry::instruction_start |
( |
| ) |
const |
|
inline |
◆ is_ref_counted()
bool v8::internal::CodeEntry::is_ref_counted |
( |
| ) |
const |
|
inline |
◆ is_shared_cross_origin()
bool v8::internal::CodeEntry::is_shared_cross_origin |
( |
| ) |
const |
|
inline |
◆ IsSameFunctionAs()
bool v8::internal::CodeEntry::IsSameFunctionAs |
( |
const CodeEntry * | entry | ) |
const |
◆ line_info()
◆ line_number()
int v8::internal::CodeEntry::line_number |
( |
| ) |
const |
|
inline |
◆ mark_ref_counted()
void v8::internal::CodeEntry::mark_ref_counted |
( |
| ) |
|
|
inlineprivate |
◆ name()
const char * v8::internal::CodeEntry::name |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ position()
int v8::internal::CodeEntry::position |
( |
| ) |
const |
|
inline |
◆ print()
void v8::internal::CodeEntry::print |
( |
| ) |
const |
◆ program_entry()
CodeEntry * v8::internal::CodeEntry::program_entry |
( |
| ) |
|
|
static |
◆ ReleaseStrings()
void v8::internal::CodeEntry::ReleaseStrings |
( |
StringsStorage & | strings | ) |
|
◆ resource_name()
const char * v8::internal::CodeEntry::resource_name |
( |
| ) |
const |
|
inline |
◆ root_entry()
CodeEntry * v8::internal::CodeEntry::root_entry |
( |
| ) |
|
|
static |
◆ script_id()
int v8::internal::CodeEntry::script_id |
( |
| ) |
const |
|
inline |
◆ set_bailout_reason()
void v8::internal::CodeEntry::set_bailout_reason |
( |
const char * | bailout_reason | ) |
|
|
inline |
◆ set_deopt_info()
void v8::internal::CodeEntry::set_deopt_info |
( |
const char * | deopt_reason, |
|
|
int | deopt_id, |
|
|
std::vector< CpuProfileDeoptFrame > | inlined_frames ) |
◆ set_instruction_start()
void v8::internal::CodeEntry::set_instruction_start |
( |
Address | address | ) |
|
|
inline |
◆ set_position()
void v8::internal::CodeEntry::set_position |
( |
int | position | ) |
|
|
inline |
◆ set_script_id()
void v8::internal::CodeEntry::set_script_id |
( |
int | script_id | ) |
|
|
inline |
◆ SetBuiltinId()
void v8::internal::CodeEntry::SetBuiltinId |
( |
Builtin | id | ) |
|
◆ SetInlineStacks()
◆ unresolved_entry()
CodeEntry * v8::internal::CodeEntry::unresolved_entry |
( |
| ) |
|
|
static |
◆ CodeEntryStorage
◆ bit_field_
std::uint32_t v8::internal::CodeEntry::bit_field_ |
|
private |
◆ column_number_
int v8::internal::CodeEntry::column_number_ |
|
private |
◆ heap_object_location_
Address* v8::internal::CodeEntry::heap_object_location_ = nullptr |
|
private |
◆ instruction_start_
◆ kEmptyBailoutReason
const char *const v8::internal::CodeEntry::kEmptyBailoutReason = "" |
|
static |
◆ kEmptyResourceName
const char *const v8::internal::CodeEntry::kEmptyResourceName = "" |
|
static |
◆ kGarbageCollectorEntryName
const char *const v8::internal::CodeEntry::kGarbageCollectorEntryName = "(garbage collector)" |
|
static |
◆ kIdleEntryName
const char *const v8::internal::CodeEntry::kIdleEntryName = "(idle)" |
|
static |
◆ kNoDeoptReason
const char *const v8::internal::CodeEntry::kNoDeoptReason = "" |
|
static |
◆ kProgramEntryName
const char *const v8::internal::CodeEntry::kProgramEntryName = "(program)" |
|
static |
◆ kRootEntryName
const char *const v8::internal::CodeEntry::kRootEntryName = "(root)" |
|
static |
◆ kUnresolvedFunctionName
const char *const v8::internal::CodeEntry::kUnresolvedFunctionName = "(unresolved function)" |
|
static |
◆ line_info_
◆ line_number_
int v8::internal::CodeEntry::line_number_ |
|
private |
◆ name_
const char* v8::internal::CodeEntry::name_ |
|
private |
◆ position_
int v8::internal::CodeEntry::position_ |
|
private |
◆ rare_data_
std::unique_ptr<RareData> v8::internal::CodeEntry::rare_data_ |
|
private |
◆ ref_count_
std::atomic<std::size_t> v8::internal::CodeEntry::ref_count_ = {0} |
|
private |
◆ resource_name_
const char* v8::internal::CodeEntry::resource_name_ |
|
private |
◆ script_id_
int v8::internal::CodeEntry::script_id_ |
|
private |
The documentation for this class was generated from the following files: