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

#include <counters.h>

Inheritance diagram for v8::internal::TimedHistogram:
Collaboration diagram for v8::internal::TimedHistogram:

Public Member Functions

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)
 

Protected Member Functions

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

TimedHistogramResolution resolution_
 

Friends

class Counters
 
class CountersInitializer
 

Detailed Description

Definition at line 231 of file counters.h.

Constructor & Destructor Documentation

◆ TimedHistogram() [1/2]

v8::internal::TimedHistogram::TimedHistogram ( )
protecteddefault

◆ TimedHistogram() [2/2]

v8::internal::TimedHistogram::TimedHistogram ( const TimedHistogram & )
protecteddelete

Member Function Documentation

◆ AddTimedSample()

void v8::internal::TimedHistogram::AddTimedSample ( base::TimeDelta sample)

Definition at line 66 of file counters.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Initialize()

void v8::internal::TimedHistogram::Initialize ( const char * name,
int min,
int max,
TimedHistogramResolution resolution,
int num_buckets,
Counters * counters )
inlineprotected

Definition at line 263 of file counters.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogEnd()

void v8::internal::TimedHistogram::LogEnd ( Isolate * isolate)
protected

◆ LogStart()

void v8::internal::TimedHistogram::LogStart ( Isolate * isolate)
protected

◆ operator=()

TimedHistogram & v8::internal::TimedHistogram::operator= ( const TimedHistogram & )
protecteddelete

◆ RecordAbandon()

void v8::internal::TimedHistogram::RecordAbandon ( base::ElapsedTimer * timer,
Isolate * isolate )

Definition at line 75 of file counters.cc.

Here is the call graph for this function:

◆ Stop()

void v8::internal::TimedHistogram::Stop ( base::ElapsedTimer * timer)
protected

Definition at line 60 of file counters.cc.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Counters

friend class Counters
friend

Definition at line 254 of file counters.h.

◆ CountersInitializer

friend class CountersInitializer
friend

Definition at line 255 of file counters.h.

Member Data Documentation

◆ resolution_

TimedHistogramResolution v8::internal::TimedHistogram::resolution_
protected

Definition at line 257 of file counters.h.


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