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

Public Member Functions

 ProfileGenerator (const WasmModule *module, const std::atomic< uint32_t > *tiering_budget_array)
 
base::OwnedVector< uint8_t > GetProfileData ()
 

Private Member Functions

void SerializeTypeFeedback (ZoneBuffer &buffer)
 
void SerializeTieringInfo (ZoneBuffer &buffer)
 

Private Attributes

const WasmModulemodule_
 
AccountingAllocator allocator_
 
Zone zone_ {&allocator_, "wasm::ProfileGenerator"}
 
base::MutexGuard type_feedback_mutex_guard_
 
const std::atomic< uint32_t > *const tiering_budget_array_
 

Detailed Description

Definition at line 15 of file pgo.cc.

Constructor & Destructor Documentation

◆ ProfileGenerator()

v8::internal::wasm::ProfileGenerator::ProfileGenerator ( const WasmModule * module,
const std::atomic< uint32_t > * tiering_budget_array )
inline

Definition at line 17 of file pgo.cc.

Member Function Documentation

◆ GetProfileData()

base::OwnedVector< uint8_t > v8::internal::wasm::ProfileGenerator::GetProfileData ( )
inline

Definition at line 23 of file pgo.cc.

Here is the call graph for this function:

◆ SerializeTieringInfo()

void v8::internal::wasm::ProfileGenerator::SerializeTieringInfo ( ZoneBuffer & buffer)
inlineprivate

Definition at line 72 of file pgo.cc.

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

◆ SerializeTypeFeedback()

void v8::internal::wasm::ProfileGenerator::SerializeTypeFeedback ( ZoneBuffer & buffer)
inlineprivate

Definition at line 33 of file pgo.cc.

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

Member Data Documentation

◆ allocator_

AccountingAllocator v8::internal::wasm::ProfileGenerator::allocator_
private

Definition at line 99 of file pgo.cc.

◆ module_

const WasmModule* v8::internal::wasm::ProfileGenerator::module_
private

Definition at line 98 of file pgo.cc.

◆ tiering_budget_array_

const std::atomic<uint32_t>* const v8::internal::wasm::ProfileGenerator::tiering_budget_array_
private

Definition at line 102 of file pgo.cc.

◆ type_feedback_mutex_guard_

base::MutexGuard v8::internal::wasm::ProfileGenerator::type_feedback_mutex_guard_
private

Definition at line 101 of file pgo.cc.

◆ zone_

Zone v8::internal::wasm::ProfileGenerator::zone_ {&allocator_, "wasm::ProfileGenerator"}
private

Definition at line 100 of file pgo.cc.


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