v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StatsCounter Struct Reference

#include <counters.h>

Public Member Functions

void Set (int value)
 
void Increment ()
 
void Increment (int value)
 
void Decrement ()
 
void Decrement (int value)
 
bool Enabled ()
 
int * GetInternalPointer ()
 

Data Fields

const char * name_
 
int * ptr_
 
bool lookup_done_
 

Protected Member Functions

int * GetPtr ()
 

Detailed Description

Definition at line 120 of file counters.h.

Member Function Documentation

void Decrement ( )
inline

Definition at line 144 of file counters.h.

References StatsCounter::GetPtr().

void Decrement ( int  value)
inline

Definition at line 149 of file counters.h.

References StatsCounter::GetPtr().

bool Enabled ( )
inline

Definition at line 156 of file counters.h.

References StatsCounter::GetPtr(), and v8::internal::NULL.

Referenced by StatsCounterTimer::Running().

int* GetInternalPointer ( )
inline

Definition at line 163 of file counters.h.

References ASSERT, StatsCounter::GetPtr(), and v8::internal::NULL.

void Increment ( )
inline

Definition at line 132 of file counters.h.

References StatsCounter::GetPtr().

void Increment ( int  value)
inline

Definition at line 137 of file counters.h.

References StatsCounter::GetPtr().

void Set ( int  value)
inline

Definition at line 126 of file counters.h.

References StatsCounter::GetPtr().

Field Documentation

bool lookup_done_

Definition at line 123 of file counters.h.

Referenced by StatsCounter::GetPtr().

const char* name_

Definition at line 121 of file counters.h.

int* ptr_

Definition at line 122 of file counters.h.

Referenced by StatsCounter::GetPtr().


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