Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Side by Side Diff: chrome/browser/resources/about_memory_mac.html

Issue 6052005: Proposal: Use /usr/bin/top in about:memory... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 2
3 <!-- 3 <!--
4 about:memory template page 4 about:memory template page
5 --> 5 -->
6 <html id="t"> 6 <html id="t">
7 <head> 7 <head>
8 <title>About Memory</title> 8 <title>About Memory</title>
9 <link rel="stylesheet" href="shared/css/about_memory.css"> 9 <link rel="stylesheet" href="shared/css/about_memory.css">
10 10
11 <style> 11 <style>
12 body { 12 body {
13 font-family: Helvetica, sans-serif; 13 font-family: Helvetica, sans-serif;
14 } 14 }
15 div#header select { 15 div#header select {
16 font-family: Helvetica, sans-serif; 16 font-family: Helvetica, sans-serif;
17 } 17 }
18 div.viewOptions input { 18 div.viewOptions input {
19 font-family: Helvetica, sans-serif; 19 font-family: Helvetica, sans-serif;
20 } 20 }
21 div.otherbrowsers { 21 div.otherbrowsers {
22 font-family: Helvetica, sans-serif; 22 font-family: Helvetica, sans-serif;
23 } 23 }
24 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1), 24 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1),
25 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(4), 25 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(6),
26 table.list#browserComparison tr.firstRow th:nth-child(1) { 26 table.list#browserComparison tr.firstRow th:nth-child(1) {
27 border-right: 1px solid #b5c6de; 27 border-right: 1px solid #b5c6de;
28 } 28 }
29 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2), 29 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2),
30 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(5), 30 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(7),
31 table.list#memoryDetails tr.firstRow th:nth-child(2) { 31 table.list#memoryDetails tr.firstRow th:nth-child(2) {
32 border-right: 1px solid #b5c6de; 32 border-right: 1px solid #b5c6de;
33 } 33 }
34 </style> 34 </style>
35 <script> 35 <script>
36 function reload() { 36 function reload() {
37 if (document.getElementById('helpTooltip')) 37 if (document.getElementById('helpTooltip'))
38 return; 38 return;
39 history.go(0); 39 history.go(0);
40 } 40 }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 </p> 128 </p>
129 </div> 129 </div>
130 </div> 130 </div>
131 </h2> 131 </h2>
132 132
133 <table class='list' id='browserComparison'> 133 <table class='list' id='browserComparison'>
134 <colgroup> 134 <colgroup>
135 <col class='name' /> 135 <col class='name' />
136 <col class='number' /> 136 <col class='number' />
137 <col class='number' /> 137 <col class='number' />
138 <col class='number' />
139 <col class='number' />
138 </colgroup> 140 </colgroup>
139 <tr class='firstRow doNotFilter'> 141 <tr class='firstRow doNotFilter'>
140 <th> 142 <th>
141 </th> 143 </th>
142 <th colspan='2'> 144 <th colspan='4'>
143 Memory 145 Memory
144 <div class='help'> 146 <div class='help'>
145 <div> 147 <div>
146 <p> 148 <p>
147 <strong>Memory</strong> 149 <strong>Memory</strong>
148 </p> 150 </p>
149 <p> 151 <p>
150 <strong>Resident:</strong> 152 <strong>Resident:</strong>
151 Amount of memory that is present in physical RAM. 153 Amount of memory that is present in physical RAM.
152 This is the best indicator of browser memory resource usage. 154 This is the best indicator of browser memory resource usage.
153 </p> 155 </p>
154 <p> 156 <p>
157 <strong>Shared:</strong>
158 Amount of memory that is present in physical RAM and can
159 be shared with another process.
160 </p>
161 <p>
162 <strong>Private:</strong>
163 Amount of memory that is present in physical RAM and can not
164 be shared with another process.
165 </p>
166 <p>
155 <strong>Virtual:</strong> 167 <strong>Virtual:</strong>
156 Amount of address space allocated in virtual memory. 168 Amount of address space allocated in virtual memory.
157 </p> 169 </p>
158 170
159 <p> 171 <p>
160 <i>(Note that the memory for this tab is not included in the b rowser totals.)</i> 172 <i>(Note that the memory for this tab is not included in the b rowser totals.)</i>
161 </p> 173 </p>
162 </div> 174 </div>
163 </div> 175 </div>
164 </th> 176 </th>
165 </tr> 177 </tr>
166 <tr class='secondRow doNotFilter'> 178 <tr class='secondRow doNotFilter'>
167 <th class='name'> 179 <th class='name'>
168 Browser 180 Browser
169 </th> 181 </th>
170 <th class='name'> 182 <th class='number'>
171 Resident 183 Resident
172 </th> 184 </th>
173 <th class='number'> 185 <th class='number'>
186 Shared
Mark Mentovai 2011/01/04 20:09:31 What will the values in these columns look like if
sail 2011/01/06 19:48:26 If rshrd or rprvt aren't available then they'll be
187 </th>
188 <th class='number'>
189 Private
190 </th>
191 <th class='number'>
174 Virtual 192 Virtual
175 </th> 193 </th>
176 </tr> 194 </tr>
177 <tr jsselect="browsers"> 195 <tr jsselect="browsers">
178 <td class='name'> 196 <td class='name'>
179 <div> 197 <div>
180 <strong jscontent="name"></strong> <span jscontent="version"></spa n> 198 <strong jscontent="name"></strong> <span jscontent="version"></spa n>
181 </div> 199 </div>
182 </td> 200 </td>
183 <td class='number'> 201 <td class='number'>
184 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 202 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span>
185 </td> 203 </td>
186 <td class='number'> 204 <td class='number'>
205 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span>
206 </td>
207 <td class='number'>
208 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span>
209 </td>
210 <td class='number'>
187 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 211 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span>
188 </td> 212 </td>
189 </tr> 213 </tr>
190 </table> 214 </table>
191 <div class=otherbrowsers jsdisplay="browsers.length == 1"> 215 <div class=otherbrowsers jsdisplay="browsers.length == 1">
192 Note: If other browsers (e.g., Safari, Firefox, Camino) are running, I'l l show their memory details here. 216 Note: If other browsers (e.g., Safari, Firefox, Camino) are running, I'l l show their memory details here.
193 </div> 217 </div>
194 <div class="otherbrowsers"> 218 <div class="otherbrowsers">
195 (Bug: We seriously overcount our own memory usage: <a href="http://crbug .com/25454">Issue 25454</a>.) 219 (Bug: We seriously overcount our own memory usage: <a href="http://crbug .com/25454">Issue 25454</a>.)
196 </div> 220 </div>
(...skipping 10 matching lines...) Expand all
207 </div> 231 </div>
208 </div> 232 </div>
209 </h2> 233 </h2>
210 234
211 <table class='list' id='memoryDetails'> 235 <table class='list' id='memoryDetails'>
212 <colgroup> 236 <colgroup>
213 <col class='pid' /> 237 <col class='pid' />
214 <col class='name' /> 238 <col class='name' />
215 <col class='number' /> 239 <col class='number' />
216 <col class='number' /> 240 <col class='number' />
241 <col class='number' />
242 <col class='number' />
217 </colgroup> 243 </colgroup>
218 <tr class='firstRow doNotFilter'> 244 <tr class='firstRow doNotFilter'>
219 <th> 245 <th>
220 </th> 246 </th>
221 <th> 247 <th>
222 </th> 248 </th>
223 <th colspan='2'> 249 <th colspan='4'>
224 Memory 250 Memory
225 </th> 251 </th>
226 </tr> 252 </tr>
227 <tr class='secondRow doNotFilter'> 253 <tr class='secondRow doNotFilter'>
228 <th class='pid'> 254 <th class='pid'>
229 PID 255 PID
230 </th> 256 </th>
231 <th class='name'> 257 <th class='name'>
232 Name 258 Name
233 </th> 259 </th>
234 <th class='number'> 260 <th class='number'>
235 Resident 261 Resident
236 </th> 262 </th>
237 <th class='number'> 263 <th class='number'>
264 Shared
265 </th>
266 <th class='number'>
267 Private
268 </th>
269 <th class='number'>
238 Virtual 270 Virtual
239 </th> 271 </th>
240 </tr> 272 </tr>
241 273
242 <tr jsselect="browzr_data"> 274 <tr jsselect="browzr_data">
243 <td class='pid'> 275 <td class='pid'>
244 <span class='th' jscontent="pid"></span> 276 <span class='th' jscontent="pid"></span>
245 </td> 277 </td>
246 <td class='name'> 278 <td class='name'>
247 <div> 279 <div>
248 Browser 280 Browser
249 </div> 281 </div>
250 </td> 282 </td>
251 <td class='number'> 283 <td class='number'>
252 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 284 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span>
253 </td> 285 </td>
254 <td class='number'> 286 <td class='number'>
287 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span>
288 </td>
289 <td class='number'>
290 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span>
291 </td>
292 <td class='number'>
255 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 293 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span>
256 </td> 294 </td>
257 </tr> 295 </tr>
258 <tr jsselect="child_data"> 296 <tr jsselect="child_data">
259 <td class='pid'> 297 <td class='pid'>
260 <span class='th' jscontent="pid"></span> 298 <span class='th' jscontent="pid"></span>
261 </td> 299 </td>
262 <td class='name'> 300 <td class='name'>
263 <div jscontent="child_name"></div> 301 <div jscontent="child_name"></div>
264 <div jsselect="titles"> 302 <div jsselect="titles">
265 <span jscontent="$this"></span><br> 303 <span jscontent="$this"></span><br>
266 </div> 304 </div>
267 </td> 305 </td>
268 <td class='number'> 306 <td class='number'>
269 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 307 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span>
270 </td> 308 </td>
271 <td class='number'> 309 <td class='number'>
310 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span>
311 </td>
312 <td class='number'>
313 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span>
314 </td>
315 <td class='number'>
272 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 316 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span>
273 </td> 317 </td>
274 </tr> 318 </tr>
275 319
276 <tr class='noResults'> 320 <tr class='noResults'>
277 <td colspan='99'> 321 <td colspan='99'>
278 No results found. 322 No results found.
279 </td> 323 </td>
280 </tr> 324 </tr>
281 </table> 325 </table>
282 <div class="otherbrowsers"> 326 <div class="otherbrowsers">
283 (Note: Due to memory sharing between processes, summing memory usage doe s not give total memory usage.) 327 (Note: Due to memory sharing between processes, summing memory usage doe s not give total memory usage.)
284 </div> 328 </div>
285 </div> 329 </div>
286 </body> 330 </body>
287 <script> 331 <script>
288 enableHelpTooltips(); 332 enableHelpTooltips();
289 </script> 333 </script>
290 </html> 334 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698