OLD | NEW |
1 # MemoryInfra | 1 # MemoryInfra |
2 | 2 |
3 MemoryInfra is a timeline-based profiling system integrated in chrome://tracing. | 3 MemoryInfra is a timeline-based profiling system integrated in chrome://tracing. |
4 It aims at creating Chrome-scale memory measurement tooling so that on any | 4 It aims at creating Chrome-scale memory measurement tooling so that on any |
5 Chrome in the world --- desktop, mobile, Chrome OS or any other --- with the | 5 Chrome in the world --- desktop, mobile, Chrome OS or any other --- with the |
6 click of a button you can understand where memory is being used in your system. | 6 click of a button you can understand where memory is being used in your system. |
7 | 7 |
8 [TOC] | 8 [TOC] |
9 | 9 |
10 ## Getting Started | 10 ## Getting Started |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 * **V8**: (TODO: document this). | 85 * **V8**: (TODO: document this). |
86 * **Web Cache**: (TODO: document this). | 86 * **Web Cache**: (TODO: document this). |
87 | 87 |
88 The **tracing column in gray** reports memory that is used to collect all of the | 88 The **tracing column in gray** reports memory that is used to collect all of the |
89 above information. This memory would not be used if tracing were not enabled, | 89 above information. This memory would not be used if tracing were not enabled, |
90 and it is discounted from malloc and the blue columns. | 90 and it is discounted from malloc and the blue columns. |
91 | 91 |
92 <!-- TODO(primiano): Improve this. https://crbug.com/??? --> | 92 <!-- TODO(primiano): Improve this. https://crbug.com/??? --> |
93 | 93 |
94 [oilpan]: /third_party/WebKit/Source/platform/heap/BlinkGCDesign.md | 94 [oilpan]: /third_party/WebKit/Source/platform/heap/BlinkGCDesign.md |
95 [cc-memory]: /cc/memory.md | 95 [cc-memory]: probe-cc.md |
96 [gpu-memory]: memory_infra_gpu.md | 96 [gpu-memory]: probe-gpu.md |
97 [partalloc]: /third_party/WebKit/Source/wtf/allocator/PartitionAlloc.md | 97 [partalloc]: /third_party/WebKit/Source/wtf/allocator/PartitionAlloc.md |
98 | 98 |
99 ## Related Pages | 99 ## Related Pages |
100 | 100 |
101 * [Adding MemoryInfra Tracing to a Component](adding_memory_infra_tracing.md) | 101 * [Adding MemoryInfra Tracing to a Component](adding_memory_infra_tracing.md) |
102 * [GPU Memory Tracing](memory_infra_gpu.md) | 102 * [GPU Memory Tracing](probe-gpu.md) |
103 * [Heap Profiler Internals](heap_profiler_internals.md) | 103 * [Heap Profiler Internals](heap_profiler_internals.md) |
104 * [Heap Profiling with MemoryInfra](heap_profiler.md) | 104 * [Heap Profiling with MemoryInfra](heap_profiler.md) |
105 * [Startup Tracing with MemoryInfra](memory_infra_startup_tracing.md) | 105 * [Startup Tracing with MemoryInfra](memory_infra_startup_tracing.md) |
106 | 106 |
107 ## Rationale | 107 ## Rationale |
108 | 108 |
109 Another memory profiler? What is wrong with tool X? | 109 Another memory profiler? What is wrong with tool X? |
110 Most of the existing tools: | 110 Most of the existing tools: |
111 | 111 |
112 * Are hard to get working with Chrome. (Massive symbols, require OS-specific | 112 * Are hard to get working with Chrome. (Massive symbols, require OS-specific |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 162 |
163 Chrome-side design docs: | 163 Chrome-side design docs: |
164 | 164 |
165 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfndSa2dleUQtMnZDeWpPZk1JV0QtbVM5STkwWms4YThzQ0p
GTmU1QU9kNVk"> | 165 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfndSa2dleUQtMnZDeWpPZk1JV0QtbVM5STkwWms4YThzQ0p
GTmU1QU9kNVk"> |
166 </iframe> | 166 </iframe> |
167 | 167 |
168 Catapult-side design docs: | 168 Catapult-side design docs: |
169 | 169 |
170 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfm10bXd5YmRNWUpKOElOWS0xdU1tMmV1S3F4aHo0ZDJLTmt
GRy1qVnQtVWM"> | 170 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfm10bXd5YmRNWUpKOElOWS0xdU1tMmV1S3F4aHo0ZDJLTmt
GRy1qVnQtVWM"> |
171 </iframe> | 171 </iframe> |
OLD | NEW |