V8 Project
|
#include <instrument-arm64.h>
Public Member Functions | |
Instrument (const char *datafile=NULL, uint64_t sample_period=kDefaultInstrumentationSamplingPeriod) | |
~Instrument () | |
![]() | |
virtual | ~DecoderVisitor () |
Private Member Functions | |
void | Update () |
void | Enable () |
void | Disable () |
void | DumpCounters () |
void | DumpCounterNames () |
void | DumpEventMarker (unsigned marker) |
void | HandleInstrumentationEvent (unsigned event) |
Counter * | GetCounter (const char *name) |
void | InstrumentLoadStore (Instruction *instr) |
void | InstrumentLoadStorePair (Instruction *instr) |
Private Attributes | |
std::list< Counter * > | counters_ |
FILE * | output_stream_ |
uint64_t | sample_period_ |
Definition at line 53 of file instrument-arm64.h.
|
explicit |
Definition at line 97 of file instrument-arm64.cc.
References arraysize, counters_, DumpCounterNames(), v8::internal::kCounterList, name, NULL, output_stream_, and sample_period_.
v8::internal::Instrument::~Instrument | ( | ) |
Definition at line 126 of file instrument-arm64.cc.
References counters_, DumpCounters(), and output_stream_.
|
private |
Definition at line 225 of file instrument-arm64.cc.
References counters_.
Referenced by HandleInstrumentationEvent().
|
private |
Definition at line 167 of file instrument-arm64.cc.
References counters_, and output_stream_.
Referenced by Instrument().
|
private |
Definition at line 155 of file instrument-arm64.cc.
References counters_, and output_stream_.
Referenced by Update(), and ~Instrument().
|
private |
Definition at line 188 of file instrument-arm64.cc.
References v8::internal::Counter::count(), GetCounter(), and output_stream_.
Referenced by HandleInstrumentationEvent().
|
private |
Definition at line 217 of file instrument-arm64.cc.
References counters_.
Referenced by HandleInstrumentationEvent().
|
private |
Definition at line 198 of file instrument-arm64.cc.
References counters_, name, and output_stream_.
Referenced by DumpEventMarker(), InstrumentLoadStore(), InstrumentLoadStorePair(), and Update().
|
private |
Definition at line 179 of file instrument-arm64.cc.
References Disable(), DumpEventMarker(), Enable(), v8::internal::InstrumentStateDisable, and v8::internal::InstrumentStateEnable.
|
private |
Definition at line 380 of file instrument-arm64.cc.
References GetCounter(), v8::internal::Counter::Increment(), v8::internal::LoadStoreOpMask, v8::internal::Instruction::Mask(), and UNREACHABLE.
|
private |
Definition at line 338 of file instrument-arm64.cc.
References GetCounter(), v8::internal::Counter::Increment(), v8::internal::LoadStorePairLBit, and v8::internal::Instruction::Mask().
|
private |
Definition at line 142 of file instrument-arm64.cc.
References v8::internal::Counter::count(), v8::internal::Cumulative, DCHECK, DumpCounters(), GetCounter(), v8::internal::Counter::Increment(), v8::internal::Counter::IsEnabled(), sample_period_, and v8::internal::Counter::type().
|
private |
Definition at line 77 of file instrument-arm64.h.
Referenced by Disable(), DumpCounterNames(), DumpCounters(), Enable(), GetCounter(), Instrument(), and ~Instrument().
|
private |
Definition at line 79 of file instrument-arm64.h.
Referenced by DumpCounterNames(), DumpCounters(), DumpEventMarker(), GetCounter(), Instrument(), and ~Instrument().
|
private |
Definition at line 80 of file instrument-arm64.h.
Referenced by Instrument(), and Update().