Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / resources / about_memory_mac.html
blob6662ee0cc50a31c2b89244876c18747ed501eada
1 <!doctype html>
3 <!--
4 about:memory template page
5 -->
6 <html id="t">
7 <head>
8 <meta charset="utf-8">
9 <title>About Memory</title>
10 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
11 <link rel="stylesheet" href="chrome://memory-redirect/about_memory.css">
12 <style>
13 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1),
14 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(6),
15 table.list#browserComparison tr.firstRow th:nth-child(1) {
16 border-right: 1px solid #b5c6de;
18 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2),
19 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(7),
20 table.list#memoryDetails tr.firstRow th:nth-child(2) {
21 border-right: 1px solid #b5c6de;
23 </style>
24 <script src="chrome://resources/js/load_time_data.js"></script>
25 <script src="chrome://memory-redirect/memory.js"></script>
26 <script src="chrome://memory-redirect/strings.js"></script>
27 </head>
28 <body>
29 <div id="header">
30 <h1>
31 About memory
32 </h1>
33 <p>
34 Measuring memory usage in a multi-process browser
35 </p>
36 </div>
38 <div id="content">
39 <h2>
40 Summary
41 <div class="help">
42 <div>
43 <p>
44 Summary of memory used by currently active browsers.<p>
45 For Chromium, processes used to to display diagnostics
46 information (such as this "about:memory") are excluded.
47 </p>
48 </div>
49 </div>
50 </h2>
52 <table class="list" id="browserComparison">
53 <colgroup>
54 <col class="name">
55 <col class="number">
56 <col class="number">
57 <col class="number">
58 <col class="number">
59 </colgroup>
60 <tr class="firstRow doNotFilter">
61 <th>
62 </th>
63 <th colspan="4">
64 Memory
65 <div class="help">
66 <div>
67 <p>
68 <strong>Memory</strong>
69 </p>
70 <p>
71 <strong>Resident:</strong>
72 Amount of memory that is present in physical RAM.
73 This is the best indicator of browser memory resource usage.
74 </p>
75 <p>
76 <strong>Shared:</strong>
77 Amount of memory that is present in physical RAM and can
78 be shared with another process.
79 </p>
80 <p>
81 <strong>Private:</strong>
82 Amount of memory that is present in physical RAM and can not
83 be shared with another process.
84 </p>
85 <p>
86 <strong>Virtual:</strong>
87 Amount of address space allocated in virtual memory.
88 </p>
90 <p>
91 <i>(Note that the memory for this tab is not included in the browser totals.)</i>
92 </p>
93 </div>
94 </div>
95 </th>
96 </tr>
97 <tr class="secondRow doNotFilter">
98 <th class="name">
99 Browser
100 </th>
101 <th class="number">
102 Resident
103 </th>
104 <th class="number">
105 Shared
106 </th>
107 <th class="number">
108 Private
109 </th>
110 <th class="number">
111 Virtual
112 </th>
113 </tr>
114 <tr jsselect="browsers">
115 <td class="name">
116 <div>
117 <strong jscontent="name"></strong> <span jscontent="version"></span>
118 </div>
119 </td>
120 <td class="number">
121 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
122 </td>
123 <td class="number">
124 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
125 </td>
126 <td class="number">
127 <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
128 </td>
129 <td class="number">
130 <span class="th" jscontent="formatNumber(comm_priv)"></span><span class="k">k</span>
131 </td>
132 </tr>
133 </table>
134 <div class="otherbrowsers" jsdisplay="browsers.length == 1">
135 Note: This page will show memory use for all running browsers,
136 not just Chrome.
137 </div>
138 <div class="otherbrowsers" jsdisplay="browsers.length > 1">
139 Note: Chrome includes memory used by plugins, other browsers may not.
140 </div>
141 <div class="otherbrowsers">
142 (Bug: We seriously overcount our own memory usage: <a href="http://crbug.com/25454">Issue 25454</a>.)
143 </div>
145 <br><br><br>
147 <h2>
148 Processes
149 <div class="help">
150 <div>
152 Details of memory usage for each of Chromium's processes.
153 </p>
154 </div>
155 </div>
156 </h2>
158 <table class="list" id="memoryDetails">
159 <colgroup>
160 <col class="pid">
161 <col class="name">
162 <col class="number">
163 <col class="number">
164 <col class="number">
165 <col class="number">
166 </colgroup>
167 <tr class="firstRow doNotFilter">
168 <th>
169 </th>
170 <th>
171 </th>
172 <th colspan="4">
173 Memory
174 </th>
175 </tr>
176 <tr class="secondRow doNotFilter">
177 <th class="pid">
179 </th>
180 <th class="name">
181 Name
182 </th>
183 <th class="number">
184 Resident
185 </th>
186 <th class="number">
187 Shared
188 </th>
189 <th class="number">
190 Private
191 </th>
192 <th class="number">
193 Virtual
194 </th>
195 </tr>
197 <tr jsselect="browzr_data">
198 <td class="pid">
199 <span class="th" jscontent="pid"></span>
200 </td>
201 <td class="name">
202 <div>
203 Browser
204 </div>
205 </td>
206 <td class="number">
207 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
208 </td>
209 <td class="number">
210 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
211 </td>
212 <td class="number">
213 <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
214 </td>
215 <td class="number">
216 <span class="th" jscontent="formatNumber(comm_priv)"></span><span class="k">k</span>
217 </td>
218 </tr>
219 <tr jsselect="child_data">
220 <td class="pid">
221 <span class="th" jscontent="pid"></span>
222 </td>
223 <td class="name">
224 <div jscontent="child_name"></div>
225 <div jsselect="titles">
226 <span jscontent="$this"></span><br>
227 </div>
228 </td>
229 <td class="number">
230 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
231 </td>
232 <td class="number">
233 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
234 </td>
235 <td class="number">
236 <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
237 </td>
238 <td class="number">
239 <span class="th" jscontent="formatNumber(comm_priv)"></span><span class="k">k</span>
240 </td>
241 </tr>
243 <tr class="noResults">
244 <td colspan="99">
245 No results found.
246 </td>
247 </tr>
248 </table>
249 <div class="otherbrowsers">
250 (Note: Due to memory sharing between processes, summing memory usage does not give total memory usage.)
251 </div>
252 </div>
253 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
254 </body>
255 </html>