OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="class_ref.html"> | 2 <link rel="import" href="class_ref.html"> |
3 <link rel="import" href="code_ref.html"> | 3 <link rel="import" href="code_ref.html"> |
4 <link rel="import" href="function_ref.html"> | 4 <link rel="import" href="function_ref.html"> |
5 <link rel="import" href="library_ref.html"> | 5 <link rel="import" href="library_ref.html"> |
| 6 <link rel="import" href="log_view.html"> |
6 <link rel="import" href="observatory_element.html"> | 7 <link rel="import" href="observatory_element.html"> |
7 <link rel="import" href="nav_bar.html"> | 8 <link rel="import" href="nav_bar.html"> |
8 <link rel="import" href="script_inset.html"> | 9 <link rel="import" href="script_inset.html"> |
9 <link rel="import" href="script_ref.html"> | 10 <link rel="import" href="script_ref.html"> |
10 </head> | 11 </head> |
11 <polymer-element name="function-view" extends="observatory-element"> | 12 <polymer-element name="function-view" extends="observatory-element"> |
12 <template> | 13 <template> |
13 <style> | 14 <style> |
14 .content { | 15 .content { |
15 padding-left: 10%; | 16 padding-left: 10%; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 </div> | 61 </div> |
61 <template if="{{ function['parent'] != null }}"> | 62 <template if="{{ function['parent'] != null }}"> |
62 <div class="memberItem"> | 63 <div class="memberItem"> |
63 <div class="memberName">parent function</div> | 64 <div class="memberName">parent function</div> |
64 <div class="memberValue"> | 65 <div class="memberValue"> |
65 <function-ref ref="{{ function['parent'] }}"></function-ref> | 66 <function-ref ref="{{ function['parent'] }}"></function-ref> |
66 </div> | 67 </div> |
67 </div> | 68 </div> |
68 </template> | 69 </template> |
69 <div class="memberItem"> | 70 <div class="memberItem"> |
| 71 <div class="memberName">optimized</div> |
| 72 <div class="memberValue">{{ function['optimizedCode'] != null }}</div> |
| 73 </div> |
| 74 <div class="memberItem"> |
70 <div class="memberName">owner</div> | 75 <div class="memberName">owner</div> |
71 <div class="memberValue"> | 76 <div class="memberValue"> |
72 <template if="{{ function['owner'].serviceType == 'Class' }}"> | 77 <template if="{{ function['owner'].serviceType == 'Class' }}"> |
73 <class-ref ref="{{ function['owner'] }}"></class-ref> | 78 <class-ref ref="{{ function['owner'] }}"></class-ref> |
74 </template> | 79 </template> |
75 <template if="{{ function['owner'].serviceType != 'Class' }}"> | 80 <template if="{{ function['owner'].serviceType != 'Class' }}"> |
76 <library-ref ref="{{ function['owner'] }}"></library-ref> | 81 <library-ref ref="{{ function['owner'] }}"></library-ref> |
77 </template> | 82 </template> |
78 </div> | 83 </div> |
79 </div> | 84 </div> |
80 <div class="memberItem"> | 85 <div class="memberItem"> |
81 <div class="memberName">script</div> | 86 <div class="memberName">script</div> |
82 <div class="memberValue"> | 87 <div class="memberValue"> |
83 <script-ref ref="{{ function['script'] }}" | 88 <script-ref ref="{{ function['script'] }}" |
84 pos="{{ function['tokenPos'] }}"> | 89 pos="{{ function['tokenPos'] }}"> |
85 </script-ref> | 90 </script-ref> |
86 </div> | 91 </div> |
87 </div> | 92 </div> |
88 | 93 |
89 <div class="memberItem"> </div> | 94 <div class="memberItem"> </div> |
90 | 95 |
91 <template if="{{ function['code'] != null }}"> | 96 <template if="{{ function['code'] != null }}"> |
92 <div class="memberItem"> | 97 <div class="memberItem"> |
93 <div class="memberName">optimized code</div> | 98 <div class="memberName">unoptimized code</div> |
94 <div class="memberValue"> | 99 <div class="memberValue"> |
95 <code-ref ref="{{ function['code'] }}"></code-ref> | 100 <code-ref ref="{{ function['code'] }}"></code-ref> |
96 </div> | 101 </div> |
| 102 <div class="memberValue"> |
| 103 <span title="This count is used to determine when a function will
be optimized. It is a combination of call counts and other factors."> |
| 104 (usage count: {{ function['usage_counter'] }}) |
| 105 </span> |
| 106 </div> |
97 </div> | 107 </div> |
98 </template> | 108 </template> |
99 <template if="{{ function['unoptimized_code'] != null }}"> | 109 |
| 110 <template if="{{ function['optimizedCode'] != null }}"> |
100 <div class="memberItem"> | 111 <div class="memberItem"> |
101 <div class="memberName">unoptimized code</div> | 112 <div class="memberName">optimized code</div> |
102 <div class="memberValue"> | 113 <div class="memberValue"> |
103 <code-ref ref="{{ function['unoptimized_code'] }}"></code-ref> | 114 <code-ref ref="{{ function['optimizedCode'] }}"></code-ref> |
104 </div> | 115 </div> |
105 <div class="memberValue"> | 116 </div> |
106 <span title="This count is used to determine when a function wil
l be optimized. It is a combination of call counts and other factors."> | |
107 (usage count: {{ function['usage_counter'] }}) | |
108 </span> | |
109 </div> | |
110 </div> | |
111 </template> | 117 </template> |
| 118 |
112 <div class="memberItem"> | 119 <div class="memberItem"> |
113 <div class="memberName">deoptimizations</div> | 120 <div class="memberName">deoptimizations</div> |
114 <div class="memberValue">{{ function['deoptimizations'] }}</div> | 121 <div class="memberValue">{{ function['deoptimizations'] }}</div> |
115 </div> | 122 </div> |
116 <div class="memberItem"> | 123 <div class="memberItem"> |
117 <div class="memberName">optimizable</div> | 124 <div class="memberName">optimizable</div> |
118 <div class="memberValue">{{ function['is_optimizable'] }}</div> | 125 <div class="memberValue">{{ function['is_optimizable'] }}</div> |
119 </div> | 126 </div> |
120 <div class="memberItem"> | 127 <div class="memberItem"> |
121 <div class="memberName">inlinable</div> | 128 <div class="memberName">inlinable</div> |
122 <div class="memberValue">{{ function['is_inlinable'] }}</div> | 129 <div class="memberValue">{{ function['is_inlinable'] }}</div> |
123 </div> | 130 </div> |
124 <template if="{{ function.name != function.vmName }}"> | 131 <template if="{{ function.name != function.vmName }}"> |
125 <div class="memberItem"> | 132 <div class="memberItem"> |
126 <div class="memberName">vm name</div> | 133 <div class="memberName">vm name</div> |
127 <div class="memberValue">{{ function.vmName }}</div> | 134 <div class="memberValue">{{ function.vmName }}</div> |
128 </div> | 135 </div> |
129 </template> | 136 </template> |
130 </div> | 137 </div> |
131 </div> | 138 </div> |
132 | 139 |
133 <hr> | 140 <hr> |
| 141 <log-view log="{{ function['log'] }}"></log-view> |
| 142 |
| 143 <hr> |
134 <script-inset script="{{ function['script'] }}" pos="{{ function['tokenPos']
}}" endPos="{{ function['endTokenPos'] }}"> | 144 <script-inset script="{{ function['script'] }}" pos="{{ function['tokenPos']
}}" endPos="{{ function['endTokenPos'] }}"> |
135 </script-inset> | 145 </script-inset> |
136 | 146 |
137 <br> | 147 <br> |
138 </template> | 148 </template> |
139 <script type="application/dart" src="function_view.dart"></script> | 149 <script type="application/dart" src="function_view.dart"></script> |
140 </polymer-element> | 150 </polymer-element> |
OLD | NEW |