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

#include <tick-counter.h>

Collaboration diagram for v8::internal::TickCounter:

Public Member Functions

void TickAndMaybeEnterSafepoint ()
 
void AttachLocalHeap (LocalHeap *local_heap)
 
void DetachLocalHeap ()
 
size_t CurrentTicks () const
 

Private Attributes

size_t ticks_ = 0
 
LocalHeaplocal_heap_ = nullptr
 

Detailed Description

Definition at line 23 of file tick-counter.h.

Member Function Documentation

◆ AttachLocalHeap()

void v8::internal::TickCounter::AttachLocalHeap ( LocalHeap * local_heap)

Definition at line 14 of file tick-counter.cc.

◆ CurrentTicks()

size_t v8::internal::TickCounter::CurrentTicks ( ) const
inline

Definition at line 37 of file tick-counter.h.

◆ DetachLocalHeap()

void v8::internal::TickCounter::DetachLocalHeap ( )

Definition at line 20 of file tick-counter.cc.

◆ TickAndMaybeEnterSafepoint()

void v8::internal::TickCounter::TickAndMaybeEnterSafepoint ( )
inline

Definition at line 25 of file tick-counter.h.

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

Member Data Documentation

◆ local_heap_

LocalHeap* v8::internal::TickCounter::local_heap_ = nullptr
private

Definition at line 41 of file tick-counter.h.

◆ ticks_

size_t v8::internal::TickCounter::ticks_ = 0
private

Definition at line 40 of file tick-counter.h.


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