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
v8-counters.h File Reference
#include "allocation.h"
#include "counters.h"
#include "objects.h"
#include "v8globals.h"
Include dependency graph for v8-counters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Counters
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define HISTOGRAM_TIMER_LIST(HT)
 
#define HISTOGRAM_PERCENTAGE_LIST(HP)
 
#define HISTOGRAM_MEMORY_LIST(HM)
 
#define STATS_COUNTER_LIST_1(SC)
 
#define STATS_COUNTER_LIST_2(SC)
 
#define HT(name, caption)   HistogramTimer* name() { return &name##_; }
 
#define HP(name, caption)   Histogram* name() { return &name##_; }
 
#define HM(name, caption)   Histogram* name() { return &name##_; }
 
#define SC(name, caption)   StatsCounter* name() { return &name##_; }
 
#define SC(name)
 
#define SC(name)
 
#define SC(name)
 
#define RATE_ID(name, caption)   k_##name,
 
#define PERCENTAGE_ID(name, caption)   k_##name,
 
#define MEMORY_ID(name, caption)   k_##name,
 
#define COUNTER_ID(name, caption)   k_##name,
 
#define COUNTER_ID(name)   kCountOf##name, kSizeOf##name,
 
#define COUNTER_ID(name)
 
#define COUNTER_ID(name)
 
#define COUNTER_ID(name)   k_##name,
 
#define HT(name, caption)   HistogramTimer name##_;
 
#define HP(name, caption)   Histogram name##_;
 
#define HM(name, caption)   Histogram name##_;
 
#define SC(name, caption)   StatsCounter name##_;
 
#define SC(name)
 
#define SC(name)
 
#define SC(name)
 
#define COUNTER_ID(name)   __##name,
 

Macro Definition Documentation

#define COUNTER_ID (   name,
  caption 
)    k_##name,

Definition at line 430 of file v8-counters.h.

#define COUNTER_ID (   name)    kCountOf##name, kSizeOf##name,

Definition at line 430 of file v8-counters.h.

#define COUNTER_ID (   name)
Value:
kCountOfCODE_TYPE_##name, \
kSizeOfCODE_TYPE_##name,

Definition at line 430 of file v8-counters.h.

#define COUNTER_ID (   name)
Value:
kCountOfFIXED_ARRAY__##name, \
kSizeOfFIXED_ARRAY__##name,

Definition at line 430 of file v8-counters.h.

#define COUNTER_ID (   name)    k_##name,

Definition at line 430 of file v8-counters.h.

#define COUNTER_ID (   name)    __##name,

Definition at line 430 of file v8-counters.h.

#define HISTOGRAM_MEMORY_LIST (   HM)
Value:
HM(heap_sample_total_committed, V8.MemoryHeapSampleTotalCommitted) \
HM(heap_sample_total_used, V8.MemoryHeapSampleTotalUsed) \
HM(heap_sample_map_space_committed, \
V8.MemoryHeapSampleMapSpaceCommitted) \
HM(heap_sample_cell_space_committed, \
V8.MemoryHeapSampleCellSpaceCommitted)
#define HM(name, caption)
Definition: v8-counters.h:400

Definition at line 75 of file v8-counters.h.

Referenced by Counters::ResetHistograms().

#define HISTOGRAM_PERCENTAGE_LIST (   HP)
Value:
HP(external_fragmentation_total, \
V8.MemoryExternalFragmentationTotal) \
HP(external_fragmentation_old_pointer_space, \
V8.MemoryExternalFragmentationOldPointerSpace) \
HP(external_fragmentation_old_data_space, \
V8.MemoryExternalFragmentationOldDataSpace) \
HP(external_fragmentation_code_space, \
V8.MemoryExternalFragmentationCodeSpace) \
HP(external_fragmentation_map_space, \
V8.MemoryExternalFragmentationMapSpace) \
HP(external_fragmentation_cell_space, \
V8.MemoryExternalFragmentationCellSpace) \
HP(external_fragmentation_lo_space, \
V8.MemoryExternalFragmentationLoSpace) \
HP(heap_fraction_map_space, \
V8.MemoryHeapFractionMapSpace) \
HP(heap_fraction_cell_space, \
V8.MemoryHeapFractionCellSpace) \
#define HP(name, caption)
Definition: v8-counters.h:395

Definition at line 54 of file v8-counters.h.

Referenced by Counters::ResetHistograms().

#define HISTOGRAM_TIMER_LIST (   HT)
Value:
/* Garbage collection timers. */ \
HT(gc_compactor, V8.GCCompactor) \
HT(gc_scavenger, V8.GCScavenger) \
HT(gc_context, V8.GCContext) /* GC context cleanup time */ \
/* Parsing timers. */ \
HT(parse, V8.Parse) \
HT(parse_lazy, V8.ParseLazy) \
HT(pre_parse, V8.PreParse) \
/* Total compilation times. */ \
HT(compile, V8.Compile) \
HT(compile_eval, V8.CompileEval) \
HT(compile_lazy, V8.CompileLazy)
#define HT(name, caption)
Definition: v8-counters.h:390

Definition at line 39 of file v8-counters.h.

Referenced by Counters::ResetHistograms().

#define HM (   name,
  caption 
)    Histogram* name() { return &name##_; }

Definition at line 400 of file v8-counters.h.

#define HM (   name,
  caption 
)    Histogram name##_;

Definition at line 400 of file v8-counters.h.

#define HP (   name,
  caption 
)    Histogram* name() { return &name##_; }

Definition at line 395 of file v8-counters.h.

#define HP (   name,
  caption 
)    Histogram name##_;

Definition at line 395 of file v8-counters.h.

#define HT (   name,
  caption 
)    HistogramTimer* name() { return &name##_; }

Definition at line 390 of file v8-counters.h.

#define HT (   name,
  caption 
)    HistogramTimer name##_;

Definition at line 390 of file v8-counters.h.

#define MEMORY_ID (   name,
  caption 
)    k_##name,

Definition at line 359 of file v8-counters.h.

#define PERCENTAGE_ID (   name,
  caption 
)    k_##name,

Definition at line 356 of file v8-counters.h.

#define RATE_ID (   name,
  caption 
)    k_##name,

Definition at line 353 of file v8-counters.h.

#define SC (   name,
  caption 
)    StatsCounter* name() { return &name##_; }

Definition at line 423 of file v8-counters.h.

#define SC (   name)
Value:
StatsCounter* count_of_##name() { return &count_of_##name##_; } \
StatsCounter* size_of_##name() { return &size_of_##name##_; }
#define _

Definition at line 423 of file v8-counters.h.

#define SC (   name)
Value:
StatsCounter* count_of_CODE_TYPE_##name() \
{ return &count_of_CODE_TYPE_##name##_; } \
StatsCounter* size_of_CODE_TYPE_##name() \
{ return &size_of_CODE_TYPE_##name##_; }
#define _

Definition at line 423 of file v8-counters.h.

#define SC (   name)
Value:
StatsCounter* count_of_FIXED_ARRAY_##name() \
{ return &count_of_FIXED_ARRAY_##name##_; } \
StatsCounter* size_of_FIXED_ARRAY_##name() \
{ return &size_of_FIXED_ARRAY_##name##_; }
#define _

Definition at line 423 of file v8-counters.h.

#define SC (   name,
  caption 
)    StatsCounter name##_;

Definition at line 423 of file v8-counters.h.

#define SC (   name)
Value:
StatsCounter size_of_##name##_; \
StatsCounter count_of_##name##_;
#define _

Definition at line 423 of file v8-counters.h.

#define SC (   name)
Value:
StatsCounter size_of_CODE_TYPE_##name##_; \
StatsCounter count_of_CODE_TYPE_##name##_;
#define _

Definition at line 423 of file v8-counters.h.

#define SC (   name)
Value:
StatsCounter size_of_FIXED_ARRAY_##name##_; \
StatsCounter count_of_FIXED_ARRAY_##name##_;
#define _

Definition at line 423 of file v8-counters.h.

#define STATS_COUNTER_LIST_1 (   SC)

Definition at line 89 of file v8-counters.h.

Referenced by StatisticsExtension::GetCounters().

#define STATS_COUNTER_LIST_2 (   SC)

Definition at line 147 of file v8-counters.h.

Referenced by StatisticsExtension::GetCounters().