Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / resources / about_memory_linux.html
blobda7870ed43b9340de797c32f8bb4b5910a65193c
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 <if expr="is_android">
11 <meta name="viewport" content="width=device-width">
12 </if>
13 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
14 <link rel="stylesheet" href="chrome://memory-redirect/about_memory.css">
15 <link rel="stylesheet" href="about_memory_linux.css">
16 <script src="chrome://resources/js/load_time_data.js"></script>
17 <script src="chrome://memory-redirect/memory.js"></script>
18 <script src="chrome://memory-redirect/strings.js"></script>
19 </head>
20 <body>
21 <div id="header">
22 <h1>About memory</h1>
23 <p>
24 Measuring memory usage in a multi-process browser
25 </p>
26 </div>
28 <div id="content">
29 <h2>
30 Summary
31 <div class="help">
32 <div>
33 <p class="summary-desc" i18n-values=".innerHTML:summary_desc"></p>
34 </div>
35 </div>
36 </h2>
38 <table class="list" id="browserComparison">
39 <colgroup>
40 <col class="name">
41 <col class="number">
42 <col class="number">
43 </colgroup>
44 <tr class="firstRow doNotFilter">
45 <th>
46 </th>
47 <th colspan="2">
48 Memory
49 <div class="help">
50 <div>
51 <p>
52 <strong>Memory</strong>
53 </p>
54 <p>
55 <strong>Private:</strong>
56 Resident memory size that is not shared with any other process.
57 This is the best indicator of browser memory resource usage.
58 </p>
59 <p>
60 <strong>Proportional:</strong>
61 Accounts for each page of memory as a fraction based on the number of
62 processes that have it mapped. Thus, for each page of memory mapped by two
63 processes, this sum will count half of the bytes towards each.
64 Therefore, this number is greater than the private count.
65 </p>
67 <p><i>(Note that the memory for this tab is not included in the browser totals)</i></p>
68 </div>
69 </div>
70 </th>
71 </tr>
72 <tr class="secondRow doNotFilter">
73 <th class="name">
74 Browser
75 </th>
76 <th class="name">
77 Private
78 </th>
79 <th class="number">
80 Proportional
81 </th>
82 </tr>
83 <tr jsselect="browsers">
84 <td class="name">
85 <div>
86 <strong jscontent="name"></strong> <span jscontent="version"></span>
87 </div>
88 </td>
89 <td class="number">
90 <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
91 </td>
92 <td class="number">
93 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
94 </td>
95 </tr>
96 </table>
97 <div class="otherbrowsers"
98 jsdisplay="show_other_browsers && browsers.length == 1">
99 Note: This page will show memory use for all running browsers,
100 not just Chrome.
101 </div>
102 <div class="otherbrowsers"
103 jsdisplay="show_other_browsers && browsers.length > 1">
104 Note: Chrome includes memory used by plugins, other browsers may not.
105 </div>
107 <br><br><br>
109 <h2>
110 Processes
111 <div class="help">
112 <div>
114 Details of memory usage for each of Chromium's processes.
115 </p>
116 </div>
117 </div>
118 </h2>
120 <table class="list" id="memoryDetails">
121 <colgroup>
122 <col class="pid">
123 <col class="name" >
124 <col class="number">
125 <col class="number">
126 </colgroup>
127 <tr class="firstRow doNotFilter">
128 <th>
129 </th>
130 <th>
131 </th>
132 <th colspan="2">
133 Memory
134 </th>
135 </tr>
136 <tr class="secondRow doNotFilter">
137 <th class="pid">
139 </th>
140 <th class="name">
141 Name
142 </th>
143 <th class="number">
144 Private
145 </th>
146 <th class="number">
147 Proportional
148 </th>
149 </tr>
151 <tr jsselect="browzr_data">
152 <td class="pid">
153 <span class="th" jscontent="pid"></span>
154 </td>
155 <td class="name">
156 <div>
157 Browser
158 </div>
159 </td>
160 <td class="number">
161 <span class="th" jseval="addToSum('tot_ws_priv', $this.ws_priv)" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
162 </td>
163 <td class="number">
164 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
165 </td>
166 </tr>
167 <tr jsselect="child_data">
168 <td class="pid">
169 <span class="th" jscontent="pid"></span>
170 </td>
171 <td class="name">
172 <div jscontent="child_name"></div>
173 <div jsselect="titles">
174 <span jscontent="$this"></span><br>
175 </div>
176 </td>
177 <td class="number">
178 <span class="th" jseval="addToSum('tot_ws_priv', $this.ws_priv)" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
179 </td>
180 <td class="number">
181 <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
182 </td>
183 </tr>
184 <tr class="total doNotFilter">
185 <td class="pid">
186 </td>
187 <td class="name">
188 &Sigma;
189 </td>
190 <td class="number">
191 <span class="th" id="tot_ws_priv">0</span><span class="k">k</span>
192 </td>
193 <td class="number">
194 </td>
195 </tr>
197 <tr class="noResults">
198 <td colspan="99">
199 No results found.
200 </td>
201 </tr>
202 </table>
204 <div class="otherbrowsers">(The memory usage of our renderer processes is slightly less accurate when they are sandboxed.)</div>
206 </div>
207 <script src="chrome://resources/js/i18n_template.js"></script>
208 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
209 </body>
210 </html>