v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
stats-collector.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <atomic>
#include <vector>
#include "include/cppgc/platform.h"
#include "src/base/logging.h"
#include "src/base/macros.h"
#include "src/base/platform/time.h"
#include "src/heap/cppgc/garbage-collector.h"
#include "src/heap/cppgc/metric-recorder.h"
#include "src/heap/cppgc/trace-event.h"
Include dependency graph for stats-collector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cppgc::internal::StatsCollector
 
struct  cppgc::internal::StatsCollector::Event
 
class  cppgc::internal::StatsCollector::InternalScope< trace_category, scope_category >
 
class  cppgc::internal::StatsCollector::AllocationObserver
 

Namespaces

namespace  cppgc
 
namespace  cppgc::internal
 

Macros

#define CPPGC_FOR_ALL_HISTOGRAM_SCOPES(V)
 
#define CPPGC_FOR_ALL_SCOPES(V)
 
#define CPPGC_FOR_ALL_HISTOGRAM_CONCURRENT_SCOPES(V)
 
#define CPPGC_FOR_ALL_CONCURRENT_SCOPES(V)
 
#define CPPGC_DECLARE_ENUM(name)
 
#define CPPGC_DECLARE_ENUM(name)
 
#define CPPGC_CASE(name)
 
#define CPPGC_CASE(name)
 

Macro Definition Documentation

◆ CPPGC_CASE [1/2]

#define CPPGC_CASE ( name)
Value:
case k##name: \
return type == CollectionType::kMajor ? "CppGC." #name \
: "CppGC." #name ".Minor";
const char * name
Definition builtins.cc:39

◆ CPPGC_CASE [2/2]

#define CPPGC_CASE ( name)
Value:
case k##name: \
return type == CollectionType::kMajor ? "CppGC." #name \
: "CppGC." #name ".Minor";

◆ CPPGC_DECLARE_ENUM [1/2]

#define CPPGC_DECLARE_ENUM ( name)
Value:
k##name,

Definition at line 96 of file stats-collector.h.

◆ CPPGC_DECLARE_ENUM [2/2]

#define CPPGC_DECLARE_ENUM ( name)
Value:
k##name,

Definition at line 96 of file stats-collector.h.

◆ CPPGC_FOR_ALL_CONCURRENT_SCOPES

#define CPPGC_FOR_ALL_CONCURRENT_SCOPES ( V)
Value:
V(ConcurrentMarkProcessEphemeronWorklist) \
V(ConcurrentMarkProcessMarkingWorklist) \
V(ConcurrentMarkProcessNotFullyconstructedWorklist) \
V(ConcurrentMarkProcessWriteBarrierWorklist)
#define V(Name)

Definition at line 77 of file stats-collector.h.

◆ CPPGC_FOR_ALL_HISTOGRAM_CONCURRENT_SCOPES

#define CPPGC_FOR_ALL_HISTOGRAM_CONCURRENT_SCOPES ( V)
Value:
V(ConcurrentMark) \
V(ConcurrentSweep) \
V(ConcurrentWeakCallback)

Definition at line 72 of file stats-collector.h.

◆ CPPGC_FOR_ALL_HISTOGRAM_SCOPES

#define CPPGC_FOR_ALL_HISTOGRAM_SCOPES ( V)
Value:
V(AtomicMark) \
V(AtomicWeak) \
V(AtomicCompact) \
V(AtomicSweep) \
V(IncrementalMark) \
V(IncrementalSweep)

Definition at line 28 of file stats-collector.h.

◆ CPPGC_FOR_ALL_SCOPES

#define CPPGC_FOR_ALL_SCOPES ( V)

Definition at line 36 of file stats-collector.h.