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

#include <counters.h>

Inheritance diagram for Histogram:

Public Member Functions

 Histogram ()
 
 Histogram (const char *name, int min, int max, int num_buckets, Isolate *isolate)
 
void AddSample (int sample)
 
bool Enabled ()
 
void Reset ()
 

Protected Member Functions

void * GetHistogram ()
 
const char * name ()
 
Isolateisolate () const
 

Detailed Description

Definition at line 186 of file counters.h.

Constructor & Destructor Documentation

Histogram ( )
inline

Definition at line 188 of file counters.h.

Histogram ( const char *  name,
int  min,
int  max,
int  num_buckets,
Isolate isolate 
)
inline

Definition at line 189 of file counters.h.

Member Function Documentation

void AddSample ( int  sample)

Definition at line 48 of file counters.cc.

bool Enabled ( )
inline

Definition at line 206 of file counters.h.

References Histogram::GetHistogram(), and v8::internal::NULL.

Referenced by HistogramTimer::Running().

void* GetHistogram ( )
inlineprotected

Definition at line 217 of file counters.h.

Referenced by Histogram::Enabled().

Isolate* isolate ( ) const
inlineprotected

Definition at line 226 of file counters.h.

const char* name ( )
inlineprotected

Definition at line 225 of file counters.h.

void Reset ( )
inline

Definition at line 211 of file counters.h.


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