V8 Project
|
#include <counters.h>
Public Member Functions | |
HistogramTimer () | |
HistogramTimer (const char *name, int min, int max, int num_buckets, Isolate *isolate) | |
void | Start () |
void | Stop () |
bool | Running () |
![]() | |
Histogram () | |
Histogram (const char *name, int min, int max, int num_buckets, Isolate *isolate) | |
void | AddSample (int sample) |
bool | Enabled () |
void | Reset () |
Private Attributes | |
base::ElapsedTimer | timer_ |
Additional Inherited Members | |
![]() | |
void * | GetHistogram () |
const char * | name () |
Isolate * | isolate () const |
Definition at line 224 of file counters.h.
|
inline |
Definition at line 226 of file counters.h.
|
inline |
Definition at line 227 of file counters.h.
|
inline |
Definition at line 241 of file counters.h.
References v8::internal::Histogram::Enabled(), and timer_.
void v8::internal::HistogramTimer::Start | ( | ) |
Definition at line 38 of file counters.cc.
References v8::internal::Histogram::Enabled(), v8::internal::Histogram::isolate(), v8::internal::Histogram::name(), v8::internal::Logger::START, and timer_.
Referenced by v8::internal::Parser::ParseLazyFunctionBodyWithPreParser().
void v8::internal::HistogramTimer::Stop | ( | ) |
Definition at line 47 of file counters.cc.
References v8::internal::Histogram::AddSample(), v8::internal::Histogram::Enabled(), v8::internal::Logger::END, v8::internal::Histogram::isolate(), v8::internal::Histogram::name(), and timer_.
Referenced by v8::internal::Parser::ParseLazyFunctionBodyWithPreParser().
|
private |
Definition at line 251 of file counters.h.