v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ICStats Class Reference

#include <ic-stats.h>

Collaboration diagram for v8::internal::ICStats:

Public Member Functions

 ICStats ()
 
void Dump ()
 
void Begin ()
 
void End ()
 
void Reset ()
 
V8_INLINE ICInfoCurrent ()
 
const char * GetOrCacheScriptName (Tagged< Script > script)
 
const char * GetOrCacheFunctionName (IsolateForSandbox isolate, Tagged< JSFunction > function)
 

Static Public Member Functions

static V8_INLINE ICStatsinstance ()
 

Public Attributes

const int MAX_IC_INFO = 4096
 

Private Attributes

base::Atomic32 enabled_
 
std::vector< ICInfoic_infos_
 
std::unordered_map< Address, std::unique_ptr< char[]> > script_name_map_
 
std::unordered_map< Address, std::unique_ptr< char[]> > function_name_map_
 
int pos_
 

Static Private Attributes

static base::LazyInstance< ICStats >::type instance_
 

Detailed Description

Definition at line 53 of file ic-stats.h.

Constructor & Destructor Documentation

◆ ICStats()

v8::internal::ICStats::ICStats ( )

Definition at line 19 of file ic-stats.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Begin()

void v8::internal::ICStats::Begin ( )

Definition at line 23 of file ic-stats.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Current()

V8_INLINE ICInfo & v8::internal::ICStats::Current ( )
inline

Definition at line 62 of file ic-stats.h.

Here is the caller graph for this function:

◆ Dump()

void v8::internal::ICStats::Dump ( )

Definition at line 44 of file ic-stats.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ End()

void v8::internal::ICStats::End ( )

Definition at line 28 of file ic-stats.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOrCacheFunctionName()

const char * v8::internal::ICStats::GetOrCacheFunctionName ( IsolateForSandbox isolate,
Tagged< JSFunction > function )

Definition at line 75 of file ic-stats.cc.

◆ GetOrCacheScriptName()

const char * v8::internal::ICStats::GetOrCacheScriptName ( Tagged< Script > script)

Definition at line 57 of file ic-stats.cc.

Here is the call graph for this function:

◆ instance()

static V8_INLINE ICStats * v8::internal::ICStats::instance ( )
inlinestatic

Definition at line 69 of file ic-stats.h.

Here is the caller graph for this function:

◆ Reset()

void v8::internal::ICStats::Reset ( )

Definition at line 37 of file ic-stats.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ enabled_

base::Atomic32 v8::internal::ICStats::enabled_
private

Definition at line 73 of file ic-stats.h.

◆ function_name_map_

std::unordered_map<Address, std::unique_ptr<char[]> > v8::internal::ICStats::function_name_map_
private

Definition at line 78 of file ic-stats.h.

◆ ic_infos_

std::vector<ICInfo> v8::internal::ICStats::ic_infos_
private

Definition at line 74 of file ic-stats.h.

◆ instance_

base::LazyInstance< ICStats >::type v8::internal::ICStats::instance_
staticprivate
Initial value:
=
#define LAZY_INSTANCE_INITIALIZER

Definition at line 72 of file ic-stats.h.

◆ MAX_IC_INFO

const int v8::internal::ICStats::MAX_IC_INFO = 4096

Definition at line 55 of file ic-stats.h.

◆ pos_

int v8::internal::ICStats::pos_
private

Definition at line 79 of file ic-stats.h.

◆ script_name_map_

std::unordered_map<Address, std::unique_ptr<char[]> > v8::internal::ICStats::script_name_map_
private

Definition at line 76 of file ic-stats.h.


The documentation for this class was generated from the following files: