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

Side by Side Diff: runtime/observatory/lib/src/elements/vm_view.dart

Issue 2657283004: Modified service to include current native zone memory consumption information in the VM object. Ad… (Closed)
Patch Set: Changed field name in Observatory and added null check for new value. Created 3 years, 10 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
« no previous file with comments | « no previous file | runtime/observatory/lib/src/models/objects/vm.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library vm_view_element; 5 library vm_view_element;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'package:observatory/models.dart' as M; 9 import 'package:observatory/models.dart' as M;
10 import 'package:observatory/src/elements/helpers/nav_bar.dart'; 10 import 'package:observatory/src/elements/helpers/nav_bar.dart';
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 new DivElement() 174 new DivElement()
175 ..classes = ['memberItem'] 175 ..classes = ['memberItem']
176 ..children = [ 176 ..children = [
177 new DivElement() 177 new DivElement()
178 ..classes = ['memberName'] 178 ..classes = ['memberName']
179 ..text = 'peak memory', 179 ..text = 'peak memory',
180 new DivElement() 180 new DivElement()
181 ..classes = ['memberValue'] 181 ..classes = ['memberValue']
182 ..text = Utils.formatSize(_vm.maxRSS) 182 ..text = Utils.formatSize(_vm.maxRSS)
183 ], 183 ],
184 new DivElement()
185 ..classes = ['memberItem']
186 ..children = [
187 new DivElement()
188 ..classes = ['memberName']
189 ..text = 'native zone memory usage',
190 new DivElement()
191 ..classes = ['memberValue']
192 ..text = Utils.formatSize(_vm.nativeZoneMemoryUsage)
193 ],
184 new BRElement(), 194 new BRElement(),
185 new DivElement() 195 new DivElement()
186 ..classes = ['memberItem'] 196 ..classes = ['memberItem']
187 ..children = [ 197 ..children = [
188 new DivElement() 198 new DivElement()
189 ..classes = ['memberName'] 199 ..classes = ['memberName']
190 ..children = [ 200 ..children = [
191 new SpanElement()..text = 'see ', 201 new SpanElement()..text = 'see ',
192 new AnchorElement(href: Uris.flags())..text = 'flags' 202 new AnchorElement(href: Uris.flags())..text = 'flags'
193 ], 203 ],
(...skipping 21 matching lines...) Expand all
215 queue: _r.queue) 225 queue: _r.queue)
216 ], 226 ],
217 new HRElement() 227 new HRElement()
218 ]) 228 ])
219 .toList(), 229 .toList(),
220 new ViewFooterElement(queue: _r.queue) 230 new ViewFooterElement(queue: _r.queue)
221 ] 231 ]
222 ]; 232 ];
223 } 233 }
224 } 234 }
OLDNEW
« no previous file with comments | « no previous file | runtime/observatory/lib/src/models/objects/vm.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698