5 #ifndef V8_V8_PLATFORM_H_
6 #define V8_V8_PLATFORM_H_
27 virtual void Run() = 0;
39 virtual void Run(
double deadline_in_seconds) = 0;
71 double delay_in_seconds) = 0;
82 double delay_in_seconds) {}
149 static uint8_t no = 0;
162 char phase,
const uint8_t* category_enabled_flag,
const char* name,
163 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
164 const char** arg_names,
const uint8_t* arg_types,
165 const uint64_t* arg_values,
167 unsigned int flags) {
171 char phase,
const uint8_t* category_enabled_flag,
const char* name,
172 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
173 const char** arg_names,
const uint8_t* arg_types,
174 const uint64_t* arg_values,
176 unsigned int flags, int64_t timestamp) {
185 const char* name, uint64_t handle) {}
255 virtual bool FreePages(
void* address, size_t length) = 0;
261 size_t new_length) = 0;
363 double delay_in_seconds) = 0;
370 V8_DEPRECATED(
"Use a taskrunner acquired by GetForegroundTaskRunner instead.")
379 V8_DEPRECATED(
"Use a taskrunner acquired by GetForegroundTaskRunner instead.")
381 double delay_in_seconds) = 0;
391 V8_DEPRECATED(
"Use a taskrunner acquired by GetForegroundTaskRunner instead.")