Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / resources / about_memory_mac.html
blobe947f307adafe11692efab4b831876bfa099d779
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>About memory</h1>
31 <p>
32 Measuring memory usage in a multi-process browser
33 </p>
34 </div>
36 <div id="content">
37 <h2>
38 Summary
39 <div class="help">
40 <div>
41 <p>
42 Summary of memory used by currently active browsers.<p>
43 For Chromium, processes used to to display diagnostics
44 information (such as this "about:memory") are excluded.
45 </p>
46 </div>
47 </div>
48 </h2>
50 <table class="list" id="browserComparison">
51 <colgroup>
52 <col class="name">
53 <col class="number">
54 <col class="number">
55 <col class="number">
56 <col class="number">
57 </colgroup>
58 <tr class="firstRow doNotFilter">
59 <th>
60 </th>
61 <th colspan="4">
62 Memory
63 <div class="help">
64 <div>
65 <p>
66 <strong>Memory</strong>
67 </p>
68 <p>
69 <strong>Resident:</strong>
70 Amount of memory that is present in physical RAM.
71 This is the best indicator of browser memory resource usage.
72 </p>
73 <p>
74 <strong>Shared:</strong>
75 Amount of memory that is present in physical RAM and can
76 be shared with another process.
77 </p>
78 <p>
79 <strong>Private:</strong>
80 Amount of memory that is present in physical RAM and can not
81 be shared with another process.
82 </p>
83 <p>
84 <strong>Virtual:</strong>
85 Amount of address space allocated in virtual memory.
86 </p>
88 <p>
89 <i>(Note that the memory for this tab is not included in the browser totals.)</i>
90 </p>
91 </div>
92 </div>
93 </th>
94 </tr>
95 <tr class="secondRow doNotFilter">
96 <th class="name">
97 Browser
98 </th>
99 <th class="number">
100 Resident
101 </th>
102 <th class="number">
103 Shared
104 </th>
105 <th class="number">
106 Private
107 </th>
108 <th class="number">
109 Virtual
110 </th>
111 </tr>
112 <tr jsselect="browsers">
113 <td class="name">
114 <div>
115 <strong jscontent="name"></strong> <span jscontent="version"></span>
116 </div>
117 </td>
118 <td class="number">
119 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
120 </td>
121 <td class="number">
122 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
123 </td>
124 <td class="number">
125 <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
126 </td>
127 <td class="number">
128 <span class="th" jscontent="formatNumber(comm_priv)"></span><span class="k">k</span>
129 </td>
130 </tr>
131 </table>
132 <div class="otherbrowsers" jsdisplay="browsers.length == 1">
133 Note: This page will show memory use for all running browsers,
134 not just Chrome.
135 </div>
136 <div class="otherbrowsers" jsdisplay="browsers.length > 1">
137 Note: Chrome includes memory used by plugins, other browsers may not.
138 </div>
139 <div class="otherbrowsers">
140 (Bug: We seriously overcount our own memory usage: <a href="http://crbug.com/25454">Issue 25454</a>.)
141 </div>
143 <br><br><br>
145 <h2>
146 Processes
147 <div class="help">
148 <div>
150 Details of memory usage for each of Chromium's processes.
151 </p>
152 </div>
153 </div>
154 </h2>
156 <table class="list" id="memoryDetails">
157 <colgroup>
158 <col class="pid">
159 <col class="name">
160 <col class="number">
161 <col class="number">
162 <col class="number">
163 <col class="number">
164 </colgroup>
165 <tr class="firstRow doNotFilter">
166 <th>
167 </th>
168 <th>
169 </th>
170 <th colspan="4">
171 Memory
172 </th>
173 </tr>
174 <tr class="secondRow doNotFilter">
175 <th class="pid">
177 </th>
178 <th class="name">
179 Name
180 </th>
181 <th class="number">
182 Resident
183 </th>
184 <th class="number">
185 Shared
186 </th>
187 <th class="number">
188 Private
189 </th>
190 <th class="number">
191 Virtual
192 </th>
193 </tr>
195 <tr jsselect="browzr_data">
196 <td class="pid">
197 <span class="th" jscontent="pid"></span>
198 </td>
199 <td class="name">
200 <div>
201 Browser
202 </div>
203 </td>
204 <td class="number">
205 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
206 </td>
207 <td class="number">
208 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
209 </td>
210 <td class="number">
211 <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
212 </td>
213 <td class="number">
214 <span class="th" jscontent="formatNumber(comm_priv)"></span><span class="k">k</span>
215 </td>
216 </tr>
217 <tr jsselect="child_data">
218 <td class="pid">
219 <span class="th" jscontent="pid"></span>
220 </td>
221 <td class="name">
222 <div jscontent="child_name"></div>
223 <div jsselect="titles">
224 <span jscontent="$this"></span><br>
225 </div>
226 </td>
227 <td class="number">
228 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
229 </td>
230 <td class="number">
231 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
232 </td>
233 <td class="number">
234 <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
235 </td>
236 <td class="number">
237 <span class="th" jscontent="formatNumber(comm_priv)"></span><span class="k">k</span>
238 </td>
239 </tr>
241 <tr class="noResults">
242 <td colspan="99">
243 No results found.
244 </td>
245 </tr>
246 </table>
247 <div class="otherbrowsers">
248 (Note: Due to memory sharing between processes, summing memory usage does not give total memory usage.)
249 </div>
250 </div>
251 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
252 </body>
253 </html>