![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <counters.h>
Public Member Functions | |
NestedTimedHistogram (const char *name, int min, int max, TimedHistogramResolution resolution, int num_buckets, Counters *counters) | |
![]() | |
void | RecordAbandon (base::ElapsedTimer *timer, Isolate *isolate) |
V8_EXPORT_PRIVATE void | AddTimedSample (base::TimeDelta sample) |
![]() | |
V8_EXPORT_PRIVATE void | AddSample (int sample) |
bool | Enabled () |
const char * | name () const |
int | min () const |
int | max () const |
int | num_buckets () const |
void | AssertReportsToCounters (Counters *expected_counters) |
Private Member Functions | |
NestedTimedHistogramScope * | Enter (NestedTimedHistogramScope *next) |
void | Leave (NestedTimedHistogramScope *previous) |
NestedTimedHistogram ()=default | |
NestedTimedHistogram (const NestedTimedHistogram &)=delete | |
NestedTimedHistogram & | operator= (const NestedTimedHistogram &)=delete |
Private Attributes | |
NestedTimedHistogramScope * | current_ = nullptr |
Friends | |
class | Counters |
class | NestedTimedHistogramScope |
class | PauseNestedTimedHistogramScope |
Additional Inherited Members | |
![]() | |
void | Stop (base::ElapsedTimer *timer) |
void | LogStart (Isolate *isolate) |
void | LogEnd (Isolate *isolate) |
TimedHistogram ()=default | |
TimedHistogram (const TimedHistogram &)=delete | |
TimedHistogram & | operator= (const TimedHistogram &)=delete |
void | Initialize (const char *name, int min, int max, TimedHistogramResolution resolution, int num_buckets, Counters *counters) |
![]() | |
Histogram ()=default | |
Histogram (const Histogram &)=delete | |
Histogram & | operator= (const Histogram &)=delete |
void | Initialize (const char *name, int min, int max, int num_buckets, Counters *counters) |
Counters * | counters () const |
void | Reset () |
void | EnsureCreated (bool create_new=true) |
![]() | |
TimedHistogramResolution | resolution_ |
Definition at line 282 of file counters.h.
|
inline |
|
privatedefault |
|
privatedelete |
|
inlineprivate |
Definition at line 297 of file counters.h.
|
inlineprivate |
Definition at line 303 of file counters.h.
|
privatedelete |
|
friend |
Definition at line 293 of file counters.h.
|
friend |
Definition at line 294 of file counters.h.
|
friend |
Definition at line 295 of file counters.h.
|
private |
Definition at line 307 of file counters.h.