v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::NestedTimedHistogram Class Reference

#include <counters.h>

Inheritance diagram for v8::internal::NestedTimedHistogram:
Collaboration diagram for v8::internal::NestedTimedHistogram:

Public Member Functions

 NestedTimedHistogram (const char *name, int min, int max, TimedHistogramResolution resolution, int num_buckets, Counters *counters)
 
- Public Member Functions inherited from v8::internal::TimedHistogram
void RecordAbandon (base::ElapsedTimer *timer, Isolate *isolate)
 
V8_EXPORT_PRIVATE void AddTimedSample (base::TimeDelta sample)
 
- Public Member Functions inherited from v8::internal::Histogram
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

NestedTimedHistogramScopeEnter (NestedTimedHistogramScope *next)
 
void Leave (NestedTimedHistogramScope *previous)
 
 NestedTimedHistogram ()=default
 
 NestedTimedHistogram (const NestedTimedHistogram &)=delete
 
NestedTimedHistogramoperator= (const NestedTimedHistogram &)=delete
 

Private Attributes

NestedTimedHistogramScopecurrent_ = nullptr
 

Friends

class Counters
 
class NestedTimedHistogramScope
 
class PauseNestedTimedHistogramScope
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::TimedHistogram
void Stop (base::ElapsedTimer *timer)
 
void LogStart (Isolate *isolate)
 
void LogEnd (Isolate *isolate)
 
 TimedHistogram ()=default
 
 TimedHistogram (const TimedHistogram &)=delete
 
TimedHistogramoperator= (const TimedHistogram &)=delete
 
void Initialize (const char *name, int min, int max, TimedHistogramResolution resolution, int num_buckets, Counters *counters)
 
- Protected Member Functions inherited from v8::internal::Histogram
 Histogram ()=default
 
 Histogram (const Histogram &)=delete
 
Histogramoperator= (const Histogram &)=delete
 
void Initialize (const char *name, int min, int max, int num_buckets, Counters *counters)
 
Counterscounters () const
 
void Reset ()
 
void EnsureCreated (bool create_new=true)
 
- Protected Attributes inherited from v8::internal::TimedHistogram
TimedHistogramResolution resolution_
 

Detailed Description

Definition at line 282 of file counters.h.

Constructor & Destructor Documentation

◆ NestedTimedHistogram() [1/3]

v8::internal::NestedTimedHistogram::NestedTimedHistogram ( const char * name,
int min,
int max,
TimedHistogramResolution resolution,
int num_buckets,
Counters * counters )
inline

Definition at line 285 of file counters.h.

Here is the call graph for this function:

◆ NestedTimedHistogram() [2/3]

v8::internal::NestedTimedHistogram::NestedTimedHistogram ( )
privatedefault

◆ NestedTimedHistogram() [3/3]

v8::internal::NestedTimedHistogram::NestedTimedHistogram ( const NestedTimedHistogram & )
privatedelete

Member Function Documentation

◆ Enter()

NestedTimedHistogramScope * v8::internal::NestedTimedHistogram::Enter ( NestedTimedHistogramScope * next)
inlineprivate

Definition at line 297 of file counters.h.

◆ Leave()

void v8::internal::NestedTimedHistogram::Leave ( NestedTimedHistogramScope * previous)
inlineprivate

Definition at line 303 of file counters.h.

◆ operator=()

NestedTimedHistogram & v8::internal::NestedTimedHistogram::operator= ( const NestedTimedHistogram & )
privatedelete

Friends And Related Symbol Documentation

◆ Counters

friend class Counters
friend

Definition at line 293 of file counters.h.

◆ NestedTimedHistogramScope

friend class NestedTimedHistogramScope
friend

Definition at line 294 of file counters.h.

◆ PauseNestedTimedHistogramScope

friend class PauseNestedTimedHistogramScope
friend

Definition at line 295 of file counters.h.

Member Data Documentation

◆ current_

NestedTimedHistogramScope* v8::internal::NestedTimedHistogram::current_ = nullptr
private

Definition at line 307 of file counters.h.


The documentation for this class was generated from the following file: