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

#include <counters.h>

Inheritance diagram for v8::internal::AggregatableHistogramTimer:
Collaboration diagram for v8::internal::AggregatableHistogramTimer:

Public Member Functions

void Start ()
 
void Stop ()
 
void Add (base::TimeDelta other)
 
- 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

 AggregatableHistogramTimer ()=default
 
 AggregatableHistogramTimer (const AggregatableHistogramTimer &)=delete
 
AggregatableHistogramTimeroperator= (const AggregatableHistogramTimer &)=delete
 

Private Attributes

base::TimeDelta time_
 

Friends

class Counters
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 327 of file counters.h.

Constructor & Destructor Documentation

◆ AggregatableHistogramTimer() [1/2]

v8::internal::AggregatableHistogramTimer::AggregatableHistogramTimer ( )
privatedefault

◆ AggregatableHistogramTimer() [2/2]

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

Member Function Documentation

◆ Add()

void v8::internal::AggregatableHistogramTimer::Add ( base::TimeDelta other)
inline

Definition at line 340 of file counters.h.

◆ operator=()

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

◆ Start()

void v8::internal::AggregatableHistogramTimer::Start ( )
inline

Definition at line 330 of file counters.h.

◆ Stop()

void v8::internal::AggregatableHistogramTimer::Stop ( )
inline

Definition at line 331 of file counters.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Counters

friend class Counters
friend

Definition at line 343 of file counters.h.

Member Data Documentation

◆ time_

base::TimeDelta v8::internal::AggregatableHistogramTimer::time_
private

Definition at line 350 of file counters.h.


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