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

#include <counters.h>

Collaboration diagram for v8::internal::StatsTable:

Public Member Functions

 StatsTable (const StatsTable &)=delete
 
StatsTableoperator= (const StatsTable &)=delete
 
void SetCounterFunction (CounterLookupCallback f)
 
void SetCreateHistogramFunction (CreateHistogramCallback f)
 
void SetAddHistogramSampleFunction (AddHistogramSampleCallback f)
 
bool HasCounterFunction () const
 
int * FindLocation (const char *name)
 
void * CreateHistogram (const char *name, int min, int max, size_t buckets)
 
void AddHistogramSample (void *histogram, int sample)
 

Private Member Functions

 StatsTable (Counters *counters)
 

Private Attributes

CounterLookupCallback lookup_function_
 
CreateHistogramCallback create_histogram_function_
 
AddHistogramSampleCallback add_histogram_sample_function_
 

Friends

class Counters
 

Detailed Description

Definition at line 31 of file counters.h.

Constructor & Destructor Documentation

◆ StatsTable() [1/2]

v8::internal::StatsTable::StatsTable ( const StatsTable & )
delete

◆ StatsTable() [2/2]

v8::internal::StatsTable::StatsTable ( Counters * counters)
explicitprivate

Definition at line 19 of file counters.cc.

Member Function Documentation

◆ AddHistogramSample()

void v8::internal::StatsTable::AddHistogramSample ( void * histogram,
int sample )
inline

Definition at line 77 of file counters.h.

Here is the caller graph for this function:

◆ CreateHistogram()

void * v8::internal::StatsTable::CreateHistogram ( const char * name,
int min,
int max,
size_t buckets )
inline

Definition at line 70 of file counters.h.

Here is the caller graph for this function:

◆ FindLocation()

int * v8::internal::StatsTable::FindLocation ( const char * name)
inline

Definition at line 60 of file counters.h.

Here is the caller graph for this function:

◆ HasCounterFunction()

bool v8::internal::StatsTable::HasCounterFunction ( ) const
inline

Definition at line 52 of file counters.h.

◆ operator=()

StatsTable & v8::internal::StatsTable::operator= ( const StatsTable & )
delete

◆ SetAddHistogramSampleFunction()

void v8::internal::StatsTable::SetAddHistogramSampleFunction ( AddHistogramSampleCallback f)
inline

Definition at line 48 of file counters.h.

Here is the caller graph for this function:

◆ SetCounterFunction()

void v8::internal::StatsTable::SetCounterFunction ( CounterLookupCallback f)

Definition at line 24 of file counters.cc.

Here is the caller graph for this function:

◆ SetCreateHistogramFunction()

void v8::internal::StatsTable::SetCreateHistogramFunction ( CreateHistogramCallback f)
inline

Definition at line 42 of file counters.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ Counters

friend class Counters
friend

Definition at line 83 of file counters.h.

Member Data Documentation

◆ add_histogram_sample_function_

AddHistogramSampleCallback v8::internal::StatsTable::add_histogram_sample_function_
private

Definition at line 89 of file counters.h.

◆ create_histogram_function_

CreateHistogramCallback v8::internal::StatsTable::create_histogram_function_
private

Definition at line 88 of file counters.h.

◆ lookup_function_

CounterLookupCallback v8::internal::StatsTable::lookup_function_
private

Definition at line 87 of file counters.h.


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