V8 Project
|
#include <d8.h>
Public Member Functions | |
int32_t * | Bind (const char *name, bool histogram) |
int32_t * | ptr () |
int32_t | count () |
int32_t | sample_total () |
bool | is_histogram () |
void | AddSample (int32_t sample) |
Static Public Attributes | |
static const int | kMaxNameSize = 64 |
Private Attributes | |
int32_t | count_ |
int32_t | sample_total_ |
bool | is_histogram_ |
uint8_t | name_ [kMaxNameSize] |
void v8::Counter::AddSample | ( | int32_t | sample | ) |
Definition at line 699 of file d8.cc.
Referenced by v8::Shell::AddHistogramSample().
int32_t * v8::Counter::Bind | ( | const char * | name, |
bool | histogram | ||
) |
Definition at line 689 of file d8.cc.
References name.
Referenced by v8::Shell::GetCounter().
|
inline |
Definition at line 28 of file d8.h.
References count_.
Referenced by v8::Shell::OnExit().
|
inline |
Definition at line 30 of file d8.h.
References is_histogram_.
Referenced by v8::Shell::GetCounter(), and v8::Shell::OnExit().
|
inline |
Definition at line 27 of file d8.h.
References count_.
Referenced by v8::Shell::LookupCounter().
|
inline |
Definition at line 29 of file d8.h.
References sample_total_.
Referenced by v8::Shell::OnExit().
|
private |
|
private |
Definition at line 35 of file d8.h.
Referenced by is_histogram().
|
static |
Definition at line 25 of file d8.h.
Referenced by v8::CounterCollection::CounterCollection().
|
private |
|
private |
Definition at line 34 of file d8.h.
Referenced by sample_total().