| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |