| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ | 5 #ifndef V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ |
| 6 #define V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ | 6 #define V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <unordered_map> | 9 #include <unordered_map> |
| 10 | 10 |
| 11 #include "include/v8-profiler.h" | 11 #include "include/v8-profiler.h" |
| 12 #include "src/base/platform/time.h" | 12 #include "src/base/platform/time.h" |
| 13 #include "src/objects.h" | 13 #include "src/objects.h" |
| 14 #include "src/profiler/strings-storage.h" | 14 #include "src/profiler/strings-storage.h" |
| 15 #include "src/visitors.h" |
| 15 | 16 |
| 16 namespace v8 { | 17 namespace v8 { |
| 17 namespace internal { | 18 namespace internal { |
| 18 | 19 |
| 19 class AllocationTracker; | 20 class AllocationTracker; |
| 20 class AllocationTraceNode; | 21 class AllocationTraceNode; |
| 21 class HeapEntry; | 22 class HeapEntry; |
| 22 class HeapIterator; | 23 class HeapIterator; |
| 23 class HeapProfiler; | 24 class HeapProfiler; |
| 24 class HeapSnapshot; | 25 class HeapSnapshot; |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 friend class HeapSnapshotJSONSerializerIterator; | 623 friend class HeapSnapshotJSONSerializerIterator; |
| 623 | 624 |
| 624 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 625 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 625 }; | 626 }; |
| 626 | 627 |
| 627 | 628 |
| 628 } // namespace internal | 629 } // namespace internal |
| 629 } // namespace v8 | 630 } // namespace v8 |
| 630 | 631 |
| 631 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ | 632 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ |
| OLD | NEW |