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

Side by Side 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, 9 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
(Empty)
1 <head>
2 <link rel="import" href="function_ref.html">
3 <link rel="import" href="observatory_element.html">
4 <link rel="import" href="script_ref.html">
5 </head>
6 <polymer-element name="isolate-summary" extends="observatory-element">
7 <template>
8 <div class="row">
9 <div class="col-md-1">
10 <img src="img/isolate_icon.png" class="img-polaroid">
11 </div>
12
13 <div class="col-md-1">{{ isolate.vmName }}</div>
14
15 <!-- TODO(turnidge): Use function-ref when it can take isolate param -->
16 <div class="col-md-4">
17
18 <div class="row">
19 <template if="{{ isolate.entry['id'] != null }}">
20 <a href="{{ app.locationManager.relativeLink(isolate.id, isolate.ent ry['id']) }}">
21 {{ isolate.name }}
22 </a>
23 </template>
24 <template if="{{ isolate.entry['id'] == null }}">
25 {{ isolate.name }}
26 </template>
27 </div>
28
29 <div class="row">
30 <small>
31 (<a href="{{ app.locationManager.relativeLink(isolate.id, isolate.ro otLib) }}">library</a>)
32 (<a href="{{ app.locationManager.relativeLink(isolate.id, 'debug/bre akpoints') }}">breakpoints</a>)
33 (<a href="{{ app.locationManager.relativeLink(isolate.id, 'profile') }}">profile</a>)
34 </small>
35 </div>
36 </div>
37
38 <div class="col-md-2">
39 <div class="row">
40 <div class="col-md-3">{{ isolate.timers['total'] | formatTime }}</div>
41 <div class="col-md-1"></div>
42 <div class="col-md-3"><p class="text-muted">total</p></div>
43 </div>
44 <div class="row">
45 <div class="col-md-3">{{ isolate.timers['dart'] | formatTime }}</div>
46 <div class="col-md-1"></div>
47 <div class="col-md-3"><p class="text-muted">dart</p></div>
48 </div>
49 <div class="row">
50 <div class="col-md-3">{{ isolate.timers['compile'] | formatTime }}</di v>
51 <div class="col-md-1"></div>
52 <div class="col-md-3"><p class="text-muted">compile</p></div>
53 </div>
54 <div class="row">
55 <div class="col-md-3">{{ isolate.timers['gc'] | formatTime }}</div>
56 <div class="col-md-1"></div>
57 <div class="col-md-3"><p class="text-muted">gc</p></div>
58 </div>
59 <div class="row">
60 <div class="col-md-3">{{ isolate.timers['init'] | formatTime }}</div>
61 <div class="col-md-1"></div>
62 <div class="col-md-3"><p class="text-muted">init</p></div>
63 </div>
64 </div>
65 <div class="col-md-2">
66 <a href="{{ app.locationManager.relativeLink(isolate.id, 'allocationprof ile') }}">
67 {{ isolate.newHeapUsed | formatSize }}/{{ isolate.oldHeapUsed | format Size }}
68 </a>
69 </div>
70 <div class="col-md-2">
71 <template if="{{ isolate.topFrame == null }}">
72 idle
73 </template>
74 <template if="{{ isolate.topFrame != null }}">
75 run
76 </template>
77 ( <a href="{{ app.locationManager.relativeLink(isolate.id, 'stacktrace') }}">stack trace</a> )
78 </div>
79 </div>
80 <div class="row">
81 <div class="col-md-3">
82 </div>
83 <div class="col-md-6">
84 <template if="{{ isolate.topFrame != null }}">
85 <function-ref app="{{ app }}" isolate="{{ isolate }}"
86 ref="{{ isolate.topFrame['function'] }}"></function-ref>
87 (<script-ref app="{{ app }}" isolate="{{ isolate }}"
88 ref="{{ isolate.topFrame['script'] }}"
89 line="{{ isolate.topFrame['line'] }}"></script-ref>)
90 <br>
91 <pre>{{ isolate.topFrame['line'] }} &nbsp; {{ isolate.topFrame['lineSt ring'] }}</pre>
92 </template>
93 </div>
94 <div class="col-md-3">
95 </div>
96 </div>
97 </template>
98 <script type="application/dart" src="isolate_summary.dart"></script>
99 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698