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
Counter Class Reference

#include <d8.h>

Public Member Functions

int32_t * Bind (const char *name, bool histogram)
 
int32_t * ptr ()
 
int32_t count ()
 
int32_t sample_total ()
 
bool is_histogram ()
 
void AddSample (int32_t sample)
 

Static Public Attributes

static const int kMaxNameSize = 64
 

Detailed Description

Definition at line 45 of file d8.h.

Member Function Documentation

void AddSample ( int32_t  sample)

Definition at line 688 of file d8.cc.

References v8::internal::sample.

Referenced by Shell::AddHistogramSample().

int32_t * Bind ( const char *  name,
bool  histogram 
)

Definition at line 678 of file d8.cc.

int32_t count ( )
inline

Definition at line 50 of file d8.h.

Referenced by Shell::OnExit().

bool is_histogram ( )
inline

Definition at line 52 of file d8.h.

Referenced by Shell::OnExit().

int32_t* ptr ( )
inline

Definition at line 49 of file d8.h.

Referenced by Shell::LookupCounter().

int32_t sample_total ( )
inline

Definition at line 51 of file d8.h.

Referenced by Shell::OnExit().

Field Documentation

const int kMaxNameSize = 64
static

Definition at line 47 of file d8.h.

Referenced by CounterCollection::CounterCollection().


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