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

#include <counters.h>

Inheritance diagram for HistogramTimer:
Collaboration diagram for HistogramTimer:

Public Member Functions

 HistogramTimer ()
 
 HistogramTimer (const char *name, int min, int max, int num_buckets, Isolate *isolate)
 
void Start ()
 
void Stop ()
 
bool Running ()
 
- Public Member Functions inherited from Histogram
 Histogram ()
 
 Histogram (const char *name, int min, int max, int num_buckets, Isolate *isolate)
 
void AddSample (int sample)
 
bool Enabled ()
 
void Reset ()
 

Additional Inherited Members

- Protected Member Functions inherited from Histogram
void * GetHistogram ()
 
const char * name ()
 
Isolateisolate () const
 

Detailed Description

Definition at line 241 of file counters.h.

Constructor & Destructor Documentation

HistogramTimer ( )
inline

Definition at line 243 of file counters.h.

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

Definition at line 244 of file counters.h.

Member Function Documentation

bool Running ( )
inline

Definition at line 258 of file counters.h.

References Histogram::Enabled().

void Start ( )

Definition at line 61 of file counters.cc.

References name, and START.

Referenced by TEST().

void Stop ( )

Definition at line 70 of file counters.cc.

References END, and name.

Referenced by TEST().


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