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

#include <counters.h>

Public Member Functions

void AddSample (int sample)
 
bool Enabled ()
 
void Reset ()
 

Data Fields

const char * name_
 
int min_
 
int max_
 
int num_buckets_
 
void * histogram_
 
bool lookup_done_
 

Protected Member Functions

void * GetHistogram ()
 

Detailed Description

Definition at line 206 of file counters.h.

Member Function Documentation

void AddSample ( int  sample)

Definition at line 67 of file counters.cc.

bool Enabled ( )
inline

Definition at line 218 of file counters.h.

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

Referenced by HistogramTimer::Running().

void* GetHistogram ( )
inlineprotected

Definition at line 229 of file counters.h.

References Histogram::histogram_, and Histogram::lookup_done_.

Referenced by Histogram::Enabled().

void Reset ( )
inline

Definition at line 223 of file counters.h.

References Histogram::lookup_done_.

Referenced by HistogramTimer::Reset().

Field Documentation

void* histogram_

Definition at line 211 of file counters.h.

Referenced by Histogram::GetHistogram().

bool lookup_done_

Definition at line 212 of file counters.h.

Referenced by Histogram::GetHistogram(), and Histogram::Reset().

int max_

Definition at line 209 of file counters.h.

int min_

Definition at line 208 of file counters.h.

const char* name_

Definition at line 207 of file counters.h.

int num_buckets_

Definition at line 210 of file counters.h.


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