| OLD | NEW |
| 1 // Copyright 2009-2010 the V8 project authors. All rights reserved. | 1 // Copyright 2009-2010 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_HEAP_PROFILER_H_ | 5 #ifndef V8_HEAP_PROFILER_H_ |
| 6 #define V8_HEAP_PROFILER_H_ | 6 #define V8_HEAP_PROFILER_H_ |
| 7 | 7 |
| 8 #include "heap-snapshot-generator-inl.h" | 8 #include "src/heap-snapshot-generator-inl.h" |
| 9 #include "isolate.h" | 9 #include "src/isolate.h" |
| 10 #include "smart-pointers.h" | 10 #include "src/smart-pointers.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 class HeapSnapshot; | 15 class HeapSnapshot; |
| 16 | 16 |
| 17 class HeapProfiler { | 17 class HeapProfiler { |
| 18 public: | 18 public: |
| 19 explicit HeapProfiler(Heap* heap); | 19 explicit HeapProfiler(Heap* heap); |
| 20 ~HeapProfiler(); | 20 ~HeapProfiler(); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 SmartPointer<StringsStorage> names_; | 75 SmartPointer<StringsStorage> names_; |
| 76 unsigned next_snapshot_uid_; | 76 unsigned next_snapshot_uid_; |
| 77 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_; | 77 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_; |
| 78 SmartPointer<AllocationTracker> allocation_tracker_; | 78 SmartPointer<AllocationTracker> allocation_tracker_; |
| 79 bool is_tracking_object_moves_; | 79 bool is_tracking_object_moves_; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } } // namespace v8::internal | 82 } } // namespace v8::internal |
| 83 | 83 |
| 84 #endif // V8_HEAP_PROFILER_H_ | 84 #endif // V8_HEAP_PROFILER_H_ |
| OLD | NEW |