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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html

Issue 184233007: Refactor Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html
deleted file mode 100644
index be9da98bfdfd2d505bbbdecc2ab5c135d901fdbd..0000000000000000000000000000000000000000
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html
+++ /dev/null
@@ -1,99 +0,0 @@
-<head>
- <link rel="import" href="function_ref.html">
- <link rel="import" href="observatory_element.html">
- <link rel="import" href="script_ref.html">
-</head>
-<polymer-element name="isolate-summary" extends="observatory-element">
- <template>
- <div class="row">
- <div class="col-md-1">
- <img src="img/isolate_icon.png" class="img-polaroid">
- </div>
-
- <div class="col-md-1">{{ isolate.vmName }}</div>
-
- <!-- TODO(turnidge): Use function-ref when it can take isolate param -->
- <div class="col-md-4">
-
- <div class="row">
- <template if="{{ isolate.entry['id'] != null }}">
- <a href="{{ app.locationManager.relativeLink(isolate.id, isolate.entry['id']) }}">
- {{ isolate.name }}
- </a>
- </template>
- <template if="{{ isolate.entry['id'] == null }}">
- {{ isolate.name }}
- </template>
- </div>
-
- <div class="row">
- <small>
- (<a href="{{ app.locationManager.relativeLink(isolate.id, isolate.rootLib) }}">library</a>)
- (<a href="{{ app.locationManager.relativeLink(isolate.id, 'debug/breakpoints') }}">breakpoints</a>)
- (<a href="{{ app.locationManager.relativeLink(isolate.id, 'profile') }}">profile</a>)
- </small>
- </div>
- </div>
-
- <div class="col-md-2">
- <div class="row">
- <div class="col-md-3">{{ isolate.timers['total'] | formatTime }}</div>
- <div class="col-md-1"></div>
- <div class="col-md-3"><p class="text-muted">total</p></div>
- </div>
- <div class="row">
- <div class="col-md-3">{{ isolate.timers['dart'] | formatTime }}</div>
- <div class="col-md-1"></div>
- <div class="col-md-3"><p class="text-muted">dart</p></div>
- </div>
- <div class="row">
- <div class="col-md-3">{{ isolate.timers['compile'] | formatTime }}</div>
- <div class="col-md-1"></div>
- <div class="col-md-3"><p class="text-muted">compile</p></div>
- </div>
- <div class="row">
- <div class="col-md-3">{{ isolate.timers['gc'] | formatTime }}</div>
- <div class="col-md-1"></div>
- <div class="col-md-3"><p class="text-muted">gc</p></div>
- </div>
- <div class="row">
- <div class="col-md-3">{{ isolate.timers['init'] | formatTime }}</div>
- <div class="col-md-1"></div>
- <div class="col-md-3"><p class="text-muted">init</p></div>
- </div>
- </div>
- <div class="col-md-2">
- <a href="{{ app.locationManager.relativeLink(isolate.id, 'allocationprofile') }}">
- {{ isolate.newHeapUsed | formatSize }}/{{ isolate.oldHeapUsed | formatSize }}
- </a>
- </div>
- <div class="col-md-2">
- <template if="{{ isolate.topFrame == null }}">
- idle
- </template>
- <template if="{{ isolate.topFrame != null }}">
- run
- </template>
- ( <a href="{{ app.locationManager.relativeLink(isolate.id, 'stacktrace') }}">stack trace</a> )
- </div>
- </div>
- <div class="row">
- <div class="col-md-3">
- </div>
- <div class="col-md-6">
- <template if="{{ isolate.topFrame != null }}">
- <function-ref app="{{ app }}" isolate="{{ isolate }}"
- ref="{{ isolate.topFrame['function'] }}"></function-ref>
- (<script-ref app="{{ app }}" isolate="{{ isolate }}"
- ref="{{ isolate.topFrame['script'] }}"
- line="{{ isolate.topFrame['line'] }}"></script-ref>)
- <br>
- <pre>{{ isolate.topFrame['line'] }} &nbsp; {{ isolate.topFrame['lineString'] }}</pre>
- </template>
- </div>
- <div class="col-md-3">
- </div>
- </div>
- </template>
- <script type="application/dart" src="isolate_summary.dart"></script>
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698