V8 Project
v8::internal::OptimizedCompileJob::Timer Struct Reference
+ Collaboration diagram for v8::internal::OptimizedCompileJob::Timer:

Public Member Functions

 Timer (OptimizedCompileJob *job, base::TimeDelta *location)
 
 ~Timer ()
 

Public Attributes

OptimizedCompileJobjob_
 
base::ElapsedTimer timer_
 
base::TimeDelta * location_
 

Detailed Description

Definition at line 638 of file compiler.h.

Constructor & Destructor Documentation

◆ Timer()

v8::internal::OptimizedCompileJob::Timer::Timer ( OptimizedCompileJob job,
base::TimeDelta *  location 
)
inline

Definition at line 639 of file compiler.h.

640  : job_(job), location_(location) {
641  DCHECK(location_ != NULL);
642  timer_.Start();
643  }
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, location_, NULL, and timer_.

◆ ~Timer()

v8::internal::OptimizedCompileJob::Timer::~Timer ( )
inline

Definition at line 645 of file compiler.h.

645  {
646  *location_ += timer_.Elapsed();
647  }

References location_, and timer_.

Member Data Documentation

◆ job_

OptimizedCompileJob* v8::internal::OptimizedCompileJob::Timer::job_

Definition at line 649 of file compiler.h.

◆ location_

base::TimeDelta* v8::internal::OptimizedCompileJob::Timer::location_

Definition at line 651 of file compiler.h.

Referenced by Timer(), and ~Timer().

◆ timer_

base::ElapsedTimer v8::internal::OptimizedCompileJob::Timer::timer_

Definition at line 650 of file compiler.h.

Referenced by Timer(), and ~Timer().


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