V8 Project
|
#include <counters.h>
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 () |
Isolate * | isolate () const |
Private Member Functions | |
void * | CreateHistogram () const |
Private Attributes | |
const char * | name_ |
int | min_ |
int | max_ |
int | num_buckets_ |
void * | histogram_ |
bool | lookup_done_ |
Isolate * | isolate_ |
Definition at line 169 of file counters.h.
|
inline |
Definition at line 171 of file counters.h.
|
inline |
Definition at line 172 of file counters.h.
void v8::internal::Histogram::AddSample | ( | int | sample | ) |
Definition at line 25 of file counters.cc.
References v8::internal::StatsTable::AddHistogramSample(), Enabled(), histogram_, isolate(), and v8::internal::Isolate::stats_table().
Referenced by v8::internal::HistogramTimer::Stop().
|
private |
Definition at line 31 of file counters.cc.
References isolate(), max_, min_, name_, num_buckets_, and v8::internal::Isolate::stats_table().
Referenced by GetHistogram().
|
inline |
Definition at line 189 of file counters.h.
References GetHistogram(), and NULL.
Referenced by AddSample(), v8::internal::HistogramTimer::Running(), v8::internal::HistogramTimer::Start(), and v8::internal::HistogramTimer::Stop().
|
inlineprotected |
Definition at line 200 of file counters.h.
References CreateHistogram(), histogram_, and lookup_done_.
Referenced by Enabled().
|
inlineprotected |
Definition at line 209 of file counters.h.
References isolate_.
Referenced by AddSample(), CreateHistogram(), v8::internal::HistogramTimer::Start(), and v8::internal::HistogramTimer::Stop().
|
inlineprotected |
Definition at line 208 of file counters.h.
References name_.
Referenced by v8::internal::HistogramTimer::Start(), and v8::internal::HistogramTimer::Stop().
|
inline |
Definition at line 194 of file counters.h.
References lookup_done_.
|
private |
Definition at line 218 of file counters.h.
Referenced by AddSample(), and GetHistogram().
|
private |
Definition at line 220 of file counters.h.
Referenced by isolate().
|
private |
Definition at line 219 of file counters.h.
Referenced by GetHistogram(), and Reset().
|
private |
Definition at line 216 of file counters.h.
Referenced by CreateHistogram().
|
private |
Definition at line 215 of file counters.h.
Referenced by CreateHistogram().
|
private |
Definition at line 214 of file counters.h.
Referenced by CreateHistogram(), and name().
|
private |
Definition at line 217 of file counters.h.
Referenced by CreateHistogram().