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

#include <counters.h>

Public Member Functions

void SetCounterFunction (CounterLookupCallback f)
 
void SetCreateHistogramFunction (CreateHistogramCallback f)
 
void SetAddHistogramSampleFunction (AddHistogramSampleCallback f)
 
bool HasCounterFunction () const
 
int * FindLocation (const char *name)
 
void * CreateHistogram (const char *name, int min, int max, size_t buckets)
 
void AddHistogramSample (void *histogram, int sample)
 

Friends

class Isolate
 

Detailed Description

Definition at line 41 of file counters.h.

Member Function Documentation

void AddHistogramSample ( void *  histogram,
int  sample 
)
inline

Definition at line 91 of file counters.h.

Referenced by CompilationCacheScript::Lookup().

void* CreateHistogram ( const char *  name,
int  min,
int  max,
size_t  buckets 
)
inline

Definition at line 81 of file counters.h.

References v8::internal::NULL.

Referenced by CompilationCacheScript::Lookup().

int* FindLocation ( const char *  name)
inline

Definition at line 71 of file counters.h.

References v8::internal::NULL.

bool HasCounterFunction ( ) const
inline

Definition at line 61 of file counters.h.

References v8::internal::NULL.

void SetAddHistogramSampleFunction ( AddHistogramSampleCallback  f)
inline

Definition at line 57 of file counters.h.

void SetCounterFunction ( CounterLookupCallback  f)
inline

Definition at line 45 of file counters.h.

Referenced by V8::SetCounterFunction(), and TEST().

void SetCreateHistogramFunction ( CreateHistogramCallback  f)
inline

Definition at line 51 of file counters.h.

Referenced by V8::SetCreateHistogramFunction().

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 103 of file counters.h.


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