V8 Project
|
#include <instrument-arm64.h>
Public Member Functions | |
Counter (const char *name, CounterType type=Gauge) | |
void | Increment () |
void | Enable () |
void | Disable () |
bool | IsEnabled () |
uint64_t | count () |
const char * | name () |
CounterType | type () |
Private Attributes | |
char | name_ [kCounterNameMaxLength] |
uint64_t | count_ |
bool | enabled_ |
CounterType | type_ |
Definition at line 33 of file instrument-arm64.h.
|
explicit |
Definition at line 10 of file instrument-arm64.cc.
References DCHECK, v8::internal::kCounterNameMaxLength, name(), name_, and NULL.
uint64_t v8::internal::Counter::count | ( | ) |
Definition at line 39 of file instrument-arm64.cc.
References count_, v8::internal::Gauge, and type_.
Referenced by v8::internal::Instrument::DumpEventMarker(), and v8::internal::Instrument::Update().
void v8::internal::Counter::Disable | ( | ) |
Definition at line 22 of file instrument-arm64.cc.
References enabled_.
void v8::internal::Counter::Enable | ( | ) |
Definition at line 17 of file instrument-arm64.cc.
References enabled_.
void v8::internal::Counter::Increment | ( | ) |
Definition at line 32 of file instrument-arm64.cc.
References count_, and enabled_.
Referenced by v8::internal::Instrument::InstrumentLoadStore(), v8::internal::Instrument::InstrumentLoadStorePair(), and v8::internal::Instrument::Update().
bool v8::internal::Counter::IsEnabled | ( | ) |
Definition at line 27 of file instrument-arm64.cc.
References enabled_.
Referenced by v8::internal::Instrument::Update().
const char * v8::internal::Counter::name | ( | ) |
Definition at line 49 of file instrument-arm64.cc.
References name_.
Referenced by Counter().
CounterType v8::internal::Counter::type | ( | ) |
Definition at line 54 of file instrument-arm64.cc.
References type_.
Referenced by v8::internal::Instrument::Update().
|
private |
Definition at line 47 of file instrument-arm64.h.
Referenced by count(), and Increment().
|
private |
Definition at line 48 of file instrument-arm64.h.
Referenced by Disable(), Enable(), Increment(), and IsEnabled().
|
private |
Definition at line 46 of file instrument-arm64.h.
|
private |
Definition at line 49 of file instrument-arm64.h.