// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_PROFILER_SAMPLING_HEAP_PROFILER_H_ #define V8_PROFILER_SAMPLING_HEAP_PROFILER_H_ #include <deque> #include <map> #include <memory> #include <unordered_map> #include "include/v8-profiler.h" #include "src/heap/heap.h" #include "src/profiler/strings-storage.h" namespace v8 { namespace base { class RandomNumberGenerator; } // namespace base namespace internal { class AllocationProfile : public v8::AllocationProfile { … }; class SamplingHeapProfiler { … }; } // namespace internal } // namespace v8 #endif // V8_PROFILER_SAMPLING_HEAP_PROFILER_H_