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

#include <counters.h>

Inheritance diagram for v8::internal::Counters:
Collaboration diagram for v8::internal::Counters:

Public Types

enum  Id { stats_counter_count }
 

Public Member Functions

 Counters (Isolate *isolate)
 
void ResetCounterFunction (CounterLookupCallback f)
 
void ResetCreateHistogramFunction (CreateHistogramCallback f)
 
void SetAddHistogramSampleFunction (AddHistogramSampleCallback f)
 
RuntimeCallStatsruntime_call_stats ()
 
WorkerThreadRuntimeCallStatsworker_thread_runtime_call_stats ()
 

Private Member Functions

int * FindLocation (const char *name)
 
void * CreateHistogram (const char *name, int min, int max, size_t buckets)
 
void AddHistogramSample (void *histogram, int sample)
 
Isolateisolate ()
 
 DISALLOW_IMPLICIT_CONSTRUCTORS (Counters)
 

Private Attributes

Isolateisolate_
 
StatsTable stats_table_
 

Friends

class CountersVisitor
 
class Histogram
 
class NestedTimedHistogramScope
 
class StatsCounter
 
class StatsTable
 

Detailed Description

Definition at line 502 of file counters.h.

Member Enumeration Documentation

◆ Id

Enumerator
stats_counter_count 

Definition at line 596 of file counters.h.

Constructor & Destructor Documentation

◆ Counters()

v8::internal::Counters::Counters ( Isolate * isolate)
explicit

Definition at line 157 of file counters.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AddHistogramSample()

void v8::internal::Counters::AddHistogramSample ( void * histogram,
int sample )
inlineprivate

Definition at line 655 of file counters.h.

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

◆ CreateHistogram()

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

Definition at line 651 of file counters.h.

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

◆ DISALLOW_IMPLICIT_CONSTRUCTORS()

v8::internal::Counters::DISALLOW_IMPLICIT_CONSTRUCTORS ( Counters )
private

◆ FindLocation()

int * v8::internal::Counters::FindLocation ( const char * name)
inlineprivate

Definition at line 647 of file counters.h.

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

◆ isolate()

Isolate * v8::internal::Counters::isolate ( )
inlineprivate

Definition at line 659 of file counters.h.

◆ ResetCounterFunction()

void v8::internal::Counters::ResetCounterFunction ( CounterLookupCallback f)

Definition at line 174 of file counters.cc.

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

◆ ResetCreateHistogramFunction()

void v8::internal::Counters::ResetCreateHistogramFunction ( CreateHistogramCallback f)

Definition at line 185 of file counters.cc.

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

◆ runtime_call_stats()

RuntimeCallStats * v8::internal::Counters::runtime_call_stats ( )
inline

Definition at line 633 of file counters.h.

Here is the caller graph for this function:

◆ SetAddHistogramSampleFunction()

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

Definition at line 519 of file counters.h.

Here is the call graph for this function:

◆ worker_thread_runtime_call_stats()

WorkerThreadRuntimeCallStats * v8::internal::Counters::worker_thread_runtime_call_stats ( )
inline

Definition at line 635 of file counters.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ CountersVisitor

friend class CountersVisitor
friend

Definition at line 641 of file counters.h.

◆ Histogram

friend class Histogram
friend

Definition at line 642 of file counters.h.

◆ NestedTimedHistogramScope

friend class NestedTimedHistogramScope
friend

Definition at line 643 of file counters.h.

◆ StatsCounter

friend class StatsCounter
friend

Definition at line 644 of file counters.h.

◆ StatsTable

friend class StatsTable
friend

Definition at line 645 of file counters.h.

Member Data Documentation

◆ isolate_

Isolate* v8::internal::Counters::isolate_
private

Definition at line 698 of file counters.h.

◆ stats_table_

StatsTable v8::internal::Counters::stats_table_
private

Definition at line 699 of file counters.h.


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