v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StatisticsExtension Class Reference

#include <statistics-extension.h>

Inheritance diagram for StatisticsExtension:
Collaboration diagram for StatisticsExtension:

Public Member Functions

 StatisticsExtension ()
 
virtual v8::Handle
< v8::FunctionTemplate
GetNativeFunction (v8::Handle< v8::String > name)
 
- Public Member Functions inherited from Extension
 Extension (const char *name, const char *source=0, int dep_count=0, const char **deps=0, int source_length=-1)
 
virtual ~Extension ()
 
const char * name () const
 
size_t source_length () const
 
const
String::ExternalAsciiStringResource
source () const
 
int dependency_count ()
 
const char ** dependencies ()
 
void set_auto_enable (bool value)
 
bool auto_enable ()
 

Static Public Member Functions

static v8::Handle< v8::ValueGetCounters (const v8::Arguments &args)
 
static void Register ()
 

Detailed Description

Definition at line 36 of file statistics-extension.h.

Constructor & Destructor Documentation

StatisticsExtension ( )
inline

Definition at line 38 of file statistics-extension.h.

Member Function Documentation

v8::Handle< v8::FunctionTemplate > GetNativeFunction ( v8::Handle< v8::String name)
virtual

Reimplemented from Extension.

Definition at line 37 of file statistics-extension.cc.

References ASSERT, StatisticsExtension::GetCounters(), and FunctionTemplate::New().

void Register ( )
static

Definition at line 148 of file statistics-extension.cc.

Referenced by Bootstrapper::Initialize().


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