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

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

Issue 145323002: Post-meetup feature extravaganza. (Closed) Base URL: http://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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <link rel="import" href="observatory_element.html"> 2 <link rel="import" href="observatory_element.html">
3 </head> 3 </head>
4 <polymer-element name="isolate-summary" extends="observatory-element"> 4 <polymer-element name="isolate-summary" extends="observatory-element">
5 <template> 5 <template>
6 » <div class="row"> 6 <div class="row">
7 » <div class="col-md-1"> 7 <div class="col-md-1">
8 <img src="img/isolate_icon.png" class="img-polaroid"> 8 <img src="img/isolate_icon.png" class="img-polaroid">
9 </div>
10 <div class="col-md-1">{{ isolate }}</div>
11 <div class="col-md-10">{{ name }}</div>
12 </div>
13 <div class="row">
14 <div class="col-md-2"></div>
15 <div class="col-md-1">
16 <a href="{{ app.locationManager.relativeLink(isolate, 'stacktrac e') }}">Stacktrace</a>
17 </div>
18 <div class="col-md-1">
19 <a href="{{ app.locationManager.relativeLink(isolate, 'library') }}">Lib rary</a>
20 </div> 9 </div>
21 <div class="col-md-1"> 10
22 <a href="{{ app.locationManager.relativeLink(isolate, 'debug/breakpoints ') }}">Breakpoints</a> 11 <div class="col-md-1">{{ isolate.name }}</div>
12
13 <!-- TODO(turnidge): Use function-ref when it can take isolate param -->
14 <div class="col-md-4">
15
16 <div class="row">
17 <template if="{{ isolate.entry['id'] != null }}">
18 <a href="{{ app.locationManager.relativeLink(isolate.id, isolate.ent ry['id']) }}">
19 {{ isolate.entry['name'] }}
20 </a>
21 </template>
22 <template if="{{ isolate.entry['id'] == null }}">
23 <!-- fred -->
24 root isolate
25 </template>
26 </div>
27
28 <div class="row">
29 <small>
30 (<a href="{{ app.locationManager.relativeLink(isolate.id, isolate.ro otLib) }}">library</a>)
31 (<a href="{{ app.locationManager.relativeLink(isolate.id, 'debug/bre akpoints') }}">breakpoints</a>)
32 (<a href="{{ app.locationManager.relativeLink(isolate.id, 'profile') }}">profile</a>)
33 </small>
34 </div>
23 </div> 35 </div>
24 <div class="col-md-1"> 36
25 <a href="{{ app.locationManager.relativeLink(isolate, 'profile') }}">Pro file</a> 37 <div class="col-md-2">
38 <div class="row">
39 <div class="col-md-3">{{ isolate.timers['total'] | formatTime }}</div>
40 <div class="col-md-1"></div>
41 <div class="col-md-3"><p class="text-muted">total</p></div>
42 </div>
43 <div class="row">
44 <div class="col-md-3">{{ isolate.timers['dart'] | formatTime }}</div>
45 <div class="col-md-1"></div>
46 <div class="col-md-3"><p class="text-muted">dart</p></div>
47 </div>
48 <div class="row">
49 <div class="col-md-3">{{ isolate.timers['compile'] | formatTime }}</di v>
50 <div class="col-md-1"></div>
51 <div class="col-md-3"><p class="text-muted">compile</p></div>
52 </div>
53 <div class="row">
54 <div class="col-md-3">{{ isolate.timers['gc'] | formatTime }}</div>
55 <div class="col-md-1"></div>
56 <div class="col-md-3"><p class="text-muted">gc</p></div>
57 </div>
58 <div class="row">
59 <div class="col-md-3">{{ isolate.timers['init'] | formatTime }}</div>
60 <div class="col-md-1"></div>
61 <div class="col-md-3"><p class="text-muted">init</p></div>
62 </div>
26 </div> 63 </div>
27 <div class="col-md-1"> 64 <div class="col-md-2">
28 <a href="{{ app.locationManager.relativeLink(isolate, 'allocationprofile ') }}">Allocation Profile</a> 65 <a href="{{ app.locationManager.relativeLink(isolate.id, 'allocationprof ile') }}">
66 {{ isolate.newHeapUsed | formatSize }}/{{ isolate.oldHeapUsed | format Size }}
67 </a>
29 </div> 68 </div>
30 » <div class="col-md-8"></div> 69 <div class="col-md-2">
70 <template if="{{ isolate.topFrame == null }}">
71 idle
72 </template>
73 <template if="{{ isolate.topFrame != null }}">
74 run
75 </template>
76 ( <a href="{{ app.locationManager.relativeLink(isolate.id, 'stacktrace') }}">stack trace</a> )
77 </div>
78 </div>
79 <div class="row">
80 <div class="col-md-3">
81 </div>
82 <div class="col-md-6">
83 <template if="{{ isolate.topFrame != null }}">
84 <a href="{{ app.locationManager.relativeLink(isolate.id, isolate.topFr ame['function']['id']) }}">
85 {{ isolate.topFrame['function']['user_name'] }}
86 </a>
87 (<a href="{{ app.locationManager.relativeLink(isolate.id, isolate.topF rame['script']['id']) }}">
88 {{ isolate.topFrame | fileAndLine }}
89 </a>)
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>
31 </div> 96 </div>
32 </template> 97 </template>
33 <script type="application/dart" src="isolate_summary.dart"></script> 98 <script type="application/dart" src="isolate_summary.dart"></script>
34 </polymer-element> 99 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698