#ifndef V8_HEAP_GC_TRACER_INL_H_
#define V8_HEAP_GC_TRACER_INL_H_
#include "src/base/logging.h"
#include "src/base/platform/platform.h"
#include "src/execution/isolate.h"
#include "src/heap/gc-tracer.h"
#include "src/heap/heap-inl.h"
namespace v8 {
namespace internal {
constexpr GCTracer::IncrementalInfos& GCTracer::IncrementalInfos::operator+=(
base::TimeDelta delta) { … }
GCTracer::Scope::Scope(GCTracer* tracer, ScopeId scope, ThreadKind thread_kind)
: … { … }
GCTracer::Scope::~Scope() { … }
constexpr const char* GCTracer::Scope::Name(ScopeId id) { … }
constexpr bool GCTracer::Scope::NeedsYoungEpoch(ScopeId id) { … }
constexpr int GCTracer::Scope::IncrementalOffset(ScopeId id) { … }
constexpr bool GCTracer::Event::IsYoungGenerationEvent(Type type) { … }
CollectionEpoch GCTracer::CurrentEpoch(Scope::ScopeId id) const { … }
double GCTracer::current_scope(Scope::ScopeId id) const { … }
constexpr const GCTracer::IncrementalInfos& GCTracer::incremental_scope(
Scope::ScopeId id) const { … }
void GCTracer::AddScopeSample(Scope::ScopeId id, base::TimeDelta duration) { … }
#ifdef V8_RUNTIME_CALL_STATS
WorkerThreadRuntimeCallStats* GCTracer::worker_thread_runtime_call_stats() { … }
RuntimeCallCounterId GCTracer::RCSCounterFromScope(Scope::ScopeId id) { … }
#endif
}
}
#endif