#include <default-platform.h>
|
| DefaultPlatform (int thread_pool_size=0, IdleTaskSupport idle_task_support=IdleTaskSupport::kDisabled, std::unique_ptr< v8::TracingController > tracing_controller={}, PriorityMode priority_mode=PriorityMode::kDontApply) |
|
| ~DefaultPlatform () override |
|
| DefaultPlatform (const DefaultPlatform &)=delete |
|
DefaultPlatform & | operator= (const DefaultPlatform &)=delete |
|
void | EnsureBackgroundTaskRunnerInitialized () |
|
bool | PumpMessageLoop (v8::Isolate *isolate, MessageLoopBehavior behavior=MessageLoopBehavior::kDoNotWait) |
|
void | RunIdleTasks (v8::Isolate *isolate, double idle_time_in_seconds) |
|
void | SetTracingController (std::unique_ptr< v8::TracingController > tracing_controller) |
|
void | SetTimeFunctionForTesting (TimeFunction time_function) |
|
int | NumberOfWorkerThreads () override |
|
std::shared_ptr< TaskRunner > | GetForegroundTaskRunner (v8::Isolate *isolate, TaskPriority priority) override |
|
void | PostTaskOnWorkerThreadImpl (TaskPriority priority, std::unique_ptr< Task > task, const SourceLocation &location) override |
|
void | PostDelayedTaskOnWorkerThreadImpl (TaskPriority priority, std::unique_ptr< Task > task, double delay_in_seconds, const SourceLocation &location) override |
|
bool | IdleTasksEnabled (Isolate *isolate) override |
|
std::unique_ptr< JobHandle > | CreateJobImpl (TaskPriority priority, std::unique_ptr< JobTask > job_state, const SourceLocation &location) override |
|
double | MonotonicallyIncreasingTime () override |
|
double | CurrentClockTimeMillis () override |
|
v8::TracingController * | GetTracingController () override |
|
StackTracePrinter | GetStackTracePrinter () override |
|
v8::PageAllocator * | GetPageAllocator () override |
|
v8::ThreadIsolatedAllocator * | GetThreadIsolatedAllocator () override |
|
void | NotifyIsolateShutdown (Isolate *isolate) |
|
Definition at line 28 of file default-platform.h.
◆ TimeFunction
◆ DefaultPlatform() [1/2]
◆ ~DefaultPlatform()
v8::platform::DefaultPlatform::~DefaultPlatform |
( |
| ) |
|
|
override |
◆ DefaultPlatform() [2/2]
◆ CreateJobImpl()
◆ CurrentClockTimeMillis()
double v8::platform::DefaultPlatform::CurrentClockTimeMillis |
( |
| ) |
|
|
override |
◆ EnsureBackgroundTaskRunnerInitialized()
void v8::platform::DefaultPlatform::EnsureBackgroundTaskRunnerInitialized |
( |
| ) |
|
◆ GetForegroundTaskRunner()
◆ GetPageAllocator()
◆ GetStackTracePrinter()
◆ GetThreadIsolatedAllocator()
◆ GetTracingController()
◆ IdleTasksEnabled()
bool v8::platform::DefaultPlatform::IdleTasksEnabled |
( |
Isolate * | isolate | ) |
|
|
override |
◆ MonotonicallyIncreasingTime()
double v8::platform::DefaultPlatform::MonotonicallyIncreasingTime |
( |
| ) |
|
|
override |
◆ NotifyIsolateShutdown()
void v8::platform::DefaultPlatform::NotifyIsolateShutdown |
( |
Isolate * | isolate | ) |
|
◆ num_worker_runners()
int v8::platform::DefaultPlatform::num_worker_runners |
( |
| ) |
const |
|
inlineprivate |
◆ NumberOfWorkerThreads()
int v8::platform::DefaultPlatform::NumberOfWorkerThreads |
( |
| ) |
|
|
override |
◆ operator=()
◆ PostDelayedTaskOnWorkerThreadImpl()
void v8::platform::DefaultPlatform::PostDelayedTaskOnWorkerThreadImpl |
( |
TaskPriority | priority, |
|
|
std::unique_ptr< Task > | task, |
|
|
double | delay_in_seconds, |
|
|
const SourceLocation & | location ) |
|
override |
◆ PostTaskOnWorkerThreadImpl()
void v8::platform::DefaultPlatform::PostTaskOnWorkerThreadImpl |
( |
TaskPriority | priority, |
|
|
std::unique_ptr< Task > | task, |
|
|
const SourceLocation & | location ) |
|
override |
◆ priority_from_index()
◆ priority_to_index()
int v8::platform::DefaultPlatform::priority_to_index |
( |
TaskPriority | priority | ) |
const |
|
inlineprivate |
◆ PumpMessageLoop()
◆ RunIdleTasks()
void v8::platform::DefaultPlatform::RunIdleTasks |
( |
v8::Isolate * | isolate, |
|
|
double | idle_time_in_seconds ) |
◆ SetTimeFunctionForTesting()
◆ SetTracingController()
void v8::platform::DefaultPlatform::SetTracingController |
( |
std::unique_ptr< v8::TracingController > | tracing_controller | ) |
|
◆ foreground_task_runner_map_
◆ idle_task_support_
◆ lock_
◆ page_allocator_
std::unique_ptr<PageAllocator> v8::platform::DefaultPlatform::page_allocator_ |
|
private |
◆ priority_mode_
const PriorityMode v8::platform::DefaultPlatform::priority_mode_ |
|
private |
◆ thread_isolated_allocator_
◆ thread_pool_size_
const int v8::platform::DefaultPlatform::thread_pool_size_ |
|
private |
◆ time_function_for_testing_
TimeFunction v8::platform::DefaultPlatform::time_function_for_testing_ = nullptr |
|
private |
◆ tracing_controller_
std::unique_ptr<TracingController> v8::platform::DefaultPlatform::tracing_controller_ |
|
private |
◆ worker_threads_task_runners_
The documentation for this class was generated from the following files: