v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TickSample Struct Reference

#include <sampler.h>

Public Member Functions

 TickSample ()
 
void Init (Isolate *isolate, const RegisterState &state)
 

Data Fields

StateTag state
 
Address pc
 
union {
   Address   tos
 
   Address   external_callback
 
}; 
 
Address stack [kMaxFramesCount]
 
int frames_count: 8
 
bool has_external_callback: 1
 
StackFrame::Type top_frame_type: 4
 

Static Public Attributes

static const int kMaxFramesCount = 64
 

Detailed Description

Definition at line 55 of file sampler.h.

Constructor & Destructor Documentation

TickSample ( )
inline

Definition at line 56 of file sampler.h.

Member Function Documentation

Field Documentation

union { ... }
Address external_callback

Definition at line 68 of file sampler.h.

Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().

int frames_count

Definition at line 72 of file sampler.h.

Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().

bool has_external_callback

Definition at line 73 of file sampler.h.

Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().

const int kMaxFramesCount = 64
static

Definition at line 70 of file sampler.h.

Referenced by TickSample::Init(), and TEST().

Address pc

Definition at line 65 of file sampler.h.

Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().

Definition at line 71 of file sampler.h.

Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().

StateTag state

Definition at line 64 of file sampler.h.

Referenced by ProfileGenerator::RecordTickSample(), and Sampler::SampleStack().

StackFrame::Type top_frame_type

Definition at line 74 of file sampler.h.

Referenced by TickSample::Init(), and ProfileGenerator::RecordTickSample().

Address tos

Definition at line 67 of file sampler.h.

Referenced by TickSample::Init(), and TEST().


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