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

#include <basic-block-profiler.h>

Collaboration diagram for v8::internal::BasicBlockProfiler:

Public Types

using DataList = std::list<std::unique_ptr<BasicBlockProfilerData>>
 

Public Member Functions

 BasicBlockProfiler ()=default
 
 ~BasicBlockProfiler ()=default
 
 BasicBlockProfiler (const BasicBlockProfiler &)=delete
 
BasicBlockProfileroperator= (const BasicBlockProfiler &)=delete
 
BasicBlockProfilerDataNewData (size_t n_blocks)
 
V8_EXPORT_PRIVATE void ResetCounts (Isolate *isolate)
 
V8_EXPORT_PRIVATE bool HasData (Isolate *isolate)
 
V8_EXPORT_PRIVATE void Print (Isolate *isolate, std::ostream &os)
 
V8_EXPORT_PRIVATE void Log (Isolate *isolate, std::ostream &os)
 
V8_EXPORT_PRIVATE std::vector< boolGetCoverageBitmap (Isolate *isolate)
 
const DataListdata_list ()
 

Static Public Member Functions

static V8_EXPORT_PRIVATE BasicBlockProfilerGet ()
 

Private Attributes

DataList data_list_
 
base::Mutex data_list_mutex_
 

Detailed Description

Definition at line 75 of file basic-block-profiler.h.

Member Typedef Documentation

◆ DataList

Definition at line 77 of file basic-block-profiler.h.

Constructor & Destructor Documentation

◆ BasicBlockProfiler() [1/2]

v8::internal::BasicBlockProfiler::BasicBlockProfiler ( )
default

◆ ~BasicBlockProfiler()

v8::internal::BasicBlockProfiler::~BasicBlockProfiler ( )
default

◆ BasicBlockProfiler() [2/2]

v8::internal::BasicBlockProfiler::BasicBlockProfiler ( const BasicBlockProfiler & )
delete

Member Function Documentation

◆ data_list()

const DataList * v8::internal::BasicBlockProfiler::data_list ( )
inline

Definition at line 96 of file basic-block-profiler.h.

◆ Get()

static V8_EXPORT_PRIVATE BasicBlockProfiler * v8::internal::BasicBlockProfiler::Get ( )
static
Here is the caller graph for this function:

◆ GetCoverageBitmap()

std::vector< bool > v8::internal::BasicBlockProfiler::GetCoverageBitmap ( Isolate * isolate)

Definition at line 206 of file basic-block-profiler.cc.

Here is the call graph for this function:

◆ HasData()

bool v8::internal::BasicBlockProfiler::HasData ( Isolate * isolate)

Definition at line 162 of file basic-block-profiler.cc.

◆ Log()

void v8::internal::BasicBlockProfiler::Log ( Isolate * isolate,
std::ostream & os )

Definition at line 189 of file basic-block-profiler.cc.

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

◆ NewData()

BasicBlockProfilerData * v8::internal::BasicBlockProfiler::NewData ( size_t n_blocks)

Definition at line 55 of file basic-block-profiler.cc.

Here is the caller graph for this function:

◆ operator=()

BasicBlockProfiler & v8::internal::BasicBlockProfiler::operator= ( const BasicBlockProfiler & )
delete

◆ Print()

void v8::internal::BasicBlockProfiler::Print ( Isolate * isolate,
std::ostream & os )

Definition at line 167 of file basic-block-profiler.cc.

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

◆ ResetCounts()

void v8::internal::BasicBlockProfiler::ResetCounts ( Isolate * isolate)

Definition at line 146 of file basic-block-profiler.cc.

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

Member Data Documentation

◆ data_list_

DataList v8::internal::BasicBlockProfiler::data_list_
private

Definition at line 99 of file basic-block-profiler.h.

◆ data_list_mutex_

base::Mutex v8::internal::BasicBlockProfiler::data_list_mutex_
private

Definition at line 100 of file basic-block-profiler.h.


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