ruby-prof 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +14 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -3
- data/bin/ruby-prof +4 -4
- data/bin/ruby-prof-check-trace +45 -0
- data/doc/LICENSE.html +49 -88
- data/doc/README_rdoc.html +92 -106
- data/doc/Rack.html +47 -116
- data/doc/Rack/RubyProf.html +119 -174
- data/doc/RubyProf.html +184 -216
- data/doc/RubyProf/AbstractPrinter.html +131 -162
- data/doc/RubyProf/AggregateCallInfo.html +136 -166
- data/doc/RubyProf/CallInfo.html +113 -154
- data/doc/RubyProf/CallInfoPrinter.html +56 -123
- data/doc/RubyProf/CallInfoVisitor.html +87 -216
- data/doc/RubyProf/CallStackPrinter.html +222 -215
- data/doc/RubyProf/CallTreePrinter.html +91 -142
- data/doc/RubyProf/Cmd.html +115 -157
- data/doc/RubyProf/DotPrinter.html +88 -140
- data/doc/RubyProf/FlatPrinter.html +66 -129
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +69 -132
- data/doc/RubyProf/GraphHtmlPrinter.html +115 -166
- data/doc/RubyProf/GraphPrinter.html +58 -125
- data/doc/RubyProf/MethodInfo.html +147 -172
- data/doc/RubyProf/MultiPrinter.html +104 -150
- data/doc/RubyProf/Profile.html +125 -179
- data/doc/RubyProf/ProfileTask.html +117 -157
- data/doc/RubyProf/Test.html +115 -154
- data/doc/RubyProf/Thread.html +87 -147
- data/doc/created.rid +13 -14
- data/doc/examples/flat_txt.html +51 -90
- data/doc/examples/graph_html.html +852 -0
- data/doc/examples/graph_txt.html +64 -92
- data/doc/fonts.css +167 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/index.html +75 -65
- data/doc/js/darkfish.js +0 -15
- data/doc/js/search.js +20 -5
- data/doc/js/search_index.js +1 -1
- data/doc/rdoc.css +255 -218
- data/doc/table_of_contents.html +751 -353
- data/ext/ruby_prof/extconf.rb +20 -22
- data/ext/ruby_prof/rp_measure_allocations.c +9 -5
- data/ext/ruby_prof/rp_measure_gc_runs.c +8 -0
- data/ext/ruby_prof/rp_measure_gc_time.c +5 -2
- data/ext/ruby_prof/rp_measure_wall_time.c +1 -0
- data/ext/ruby_prof/rp_method.c +0 -9
- data/ext/ruby_prof/rp_method.h +1 -6
- data/ext/ruby_prof/ruby_prof.c +32 -112
- data/ext/ruby_prof/ruby_prof.h +9 -10
- data/lib/ruby-prof.rb +2 -1
- data/lib/ruby-prof/aggregate_call_info.rb +4 -6
- data/lib/ruby-prof/call_info_visitor.rb +42 -44
- data/lib/ruby-prof/printers/graph_html_printer.rb +0 -8
- data/lib/ruby-prof/profile.rb +4 -4
- data/lib/ruby-prof/rack.rb +47 -47
- data/lib/ruby-prof/task.rb +0 -0
- data/lib/ruby-prof/thread.rb +22 -22
- data/lib/ruby-prof/version.rb +3 -0
- data/ruby-prof.gemspec +7 -11
- data/test/call_info_test.rb +78 -78
- data/test/call_info_visitor_test.rb +31 -31
- data/test/fiber_test.rb +2 -2
- data/test/measure_gc_runs_test.rb +1 -1
- data/test/measure_process_time_test.rb +7 -6
- data/test/printers_test.rb +4 -8
- data/test/recursive_test.rb +5 -9
- data/test/test_helper.rb +1 -1
- data/test/unique_call_path_test.rb +7 -29
- data/test/yarv_test.rb +55 -0
- metadata +63 -55
- data/ext/ruby_prof/version.h +0 -7
- data/lib/ruby-prof/test.rb +0 -150
- data/test/exec_test.rb +0 -14
- data/test/test_suite.rb +0 -37
@@ -2,179 +2,113 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
5
|
+
<meta charset="UTF-8">
|
6
6
|
|
7
7
|
<title>class RubyProf::AggregateCallInfo - ruby-prof</title>
|
8
8
|
|
9
|
-
<link
|
9
|
+
<link href="../fonts.css" rel="stylesheet">
|
10
|
+
<link href="../rdoc.css" rel="stylesheet">
|
10
11
|
|
11
12
|
<script type="text/javascript">
|
12
13
|
var rdoc_rel_prefix = "../";
|
13
14
|
</script>
|
14
15
|
|
15
|
-
<script
|
16
|
-
<script
|
17
|
-
<script
|
18
|
-
<script
|
19
|
-
<script
|
20
|
-
<script
|
16
|
+
<script src="../js/jquery.js"></script>
|
17
|
+
<script src="../js/navigation.js"></script>
|
18
|
+
<script src="../js/search_index.js"></script>
|
19
|
+
<script src="../js/search.js"></script>
|
20
|
+
<script src="../js/searcher.js"></script>
|
21
|
+
<script src="../js/darkfish.js"></script>
|
21
22
|
|
22
23
|
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav
|
25
|
-
<
|
26
|
-
|
27
|
-
|
24
|
+
<body id="top" role="document" class="class">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="../index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
28
34
|
<a href="../table_of_contents.html#classes">Classes</a>
|
29
35
|
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
-
</
|
31
|
-
</
|
32
|
-
|
36
|
+
</div>
|
37
|
+
</div>
|
33
38
|
|
34
|
-
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
35
40
|
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<
|
37
|
-
<input
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
38
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
46
|
+
</div>
|
44
47
|
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
45
53
|
|
46
|
-
<div id="file-metadata">
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/ruby-prof/aggregate_call_info.rb
|
51
|
-
</ul>
|
52
|
-
</nav>
|
53
|
-
|
54
|
-
|
55
54
|
</div>
|
56
55
|
|
56
|
+
|
57
|
+
|
57
58
|
<div id="class-metadata">
|
58
59
|
|
59
|
-
<
|
60
|
-
<h3
|
60
|
+
<div id="parent-class-section" class="nav-section">
|
61
|
+
<h3>Parent</h3>
|
62
|
+
|
61
63
|
|
62
64
|
<p class="link">Object
|
63
65
|
|
64
|
-
</
|
66
|
+
</div>
|
65
67
|
|
66
68
|
|
69
|
+
|
67
70
|
<!-- Method Quickref -->
|
68
|
-
<
|
69
|
-
<h3
|
71
|
+
<div id="method-list-section" class="nav-section">
|
72
|
+
<h3>Methods</h3>
|
70
73
|
|
71
|
-
<ul class="link-list">
|
74
|
+
<ul class="link-list" role="directory">
|
72
75
|
|
73
|
-
<li><a href="#method-c-new">::new</a>
|
76
|
+
<li ><a href="#method-c-new">::new</a>
|
74
77
|
|
75
|
-
<li><a href="#method-i-called">#called</a>
|
78
|
+
<li ><a href="#method-i-called">#called</a>
|
76
79
|
|
77
|
-
<li><a href="#method-i-children">#children</a>
|
80
|
+
<li ><a href="#method-i-children">#children</a>
|
78
81
|
|
79
|
-
<li><a href="#method-i-children_time">#children_time</a>
|
82
|
+
<li ><a href="#method-i-children_time">#children_time</a>
|
80
83
|
|
81
|
-
<li><a href="#method-i-line">#line</a>
|
84
|
+
<li ><a href="#method-i-line">#line</a>
|
82
85
|
|
83
|
-
<li><a href="#method-i-parent">#parent</a>
|
86
|
+
<li ><a href="#method-i-parent">#parent</a>
|
84
87
|
|
85
|
-
<li><a href="#method-i-self_time">#self_time</a>
|
88
|
+
<li ><a href="#method-i-self_time">#self_time</a>
|
86
89
|
|
87
|
-
<li><a href="#method-i-target">#target</a>
|
90
|
+
<li ><a href="#method-i-target">#target</a>
|
88
91
|
|
89
|
-
<li><a href="#method-i-to_s">#to_s</a>
|
92
|
+
<li ><a href="#method-i-to_s">#to_s</a>
|
90
93
|
|
91
|
-
<li><a href="#method-i-total_time">#total_time</a>
|
94
|
+
<li ><a href="#method-i-total_time">#total_time</a>
|
92
95
|
|
93
|
-
<li><a href="#method-i-wait_time">#wait_time</a>
|
96
|
+
<li ><a href="#method-i-wait_time">#wait_time</a>
|
94
97
|
|
95
98
|
</ul>
|
96
|
-
</
|
99
|
+
</div>
|
97
100
|
|
98
101
|
</div>
|
99
|
-
|
100
|
-
<div id="project-metadata">
|
101
|
-
<nav id="fileindex-section" class="section project-section">
|
102
|
-
<h3 class="section-header">Pages</h3>
|
103
|
-
|
104
|
-
<ul>
|
105
|
-
|
106
|
-
<li class="file"><a href="../LICENSE.html">LICENSE</a>
|
107
|
-
|
108
|
-
<li class="file"><a href="../README_rdoc.html">README</a>
|
109
|
-
|
110
|
-
<li class="file"><a href="../examples/flat_txt.html">flat</a>
|
111
|
-
|
112
|
-
<li class="file"><a href="../examples/graph_txt.html">graph</a>
|
113
|
-
|
114
|
-
</ul>
|
115
102
|
</nav>
|
116
103
|
|
117
|
-
|
118
|
-
<
|
104
|
+
<main role="main" aria-labelledby="class-RubyProf::AggregateCallInfo">
|
105
|
+
<h1 id="class-RubyProf::AggregateCallInfo" class="class">
|
106
|
+
class RubyProf::AggregateCallInfo
|
107
|
+
</h1>
|
119
108
|
|
120
|
-
<
|
121
|
-
|
122
|
-
<li><a href="../RubyProf.html">RubyProf</a>
|
123
|
-
|
124
|
-
<li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
|
125
|
-
|
126
|
-
<li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
|
127
|
-
|
128
|
-
<li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
|
129
|
-
|
130
|
-
<li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
|
131
|
-
|
132
|
-
<li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
|
133
|
-
|
134
|
-
<li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
|
135
|
-
|
136
|
-
<li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
|
137
|
-
|
138
|
-
<li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
|
139
|
-
|
140
|
-
<li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
|
141
|
-
|
142
|
-
<li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
|
143
|
-
|
144
|
-
<li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
|
145
|
-
|
146
|
-
<li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
|
147
|
-
|
148
|
-
<li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
|
149
|
-
|
150
|
-
<li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
|
151
|
-
|
152
|
-
<li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
|
153
|
-
|
154
|
-
<li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
|
155
|
-
|
156
|
-
<li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
|
157
|
-
|
158
|
-
<li><a href="../RubyProf/Test.html">RubyProf::Test</a>
|
159
|
-
|
160
|
-
<li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
|
161
|
-
|
162
|
-
<li><a href="../Rack.html">Rack</a>
|
163
|
-
|
164
|
-
<li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
|
165
|
-
|
166
|
-
</ul>
|
167
|
-
</nav>
|
168
|
-
|
169
|
-
</div>
|
170
|
-
</nav>
|
171
|
-
|
172
|
-
<div id="documentation">
|
173
|
-
<h1 class="class">class RubyProf::AggregateCallInfo</h1>
|
174
|
-
|
175
|
-
<div id="description" class="description">
|
109
|
+
<section class="description">
|
176
110
|
|
177
|
-
</
|
111
|
+
</section>
|
178
112
|
|
179
113
|
|
180
114
|
|
@@ -187,9 +121,10 @@
|
|
187
121
|
|
188
122
|
|
189
123
|
|
190
|
-
|
191
|
-
|
192
|
-
|
124
|
+
<section class="attribute-method-details" class="method-section">
|
125
|
+
<header>
|
126
|
+
<h3>Attributes</h3>
|
127
|
+
</header>
|
193
128
|
|
194
129
|
|
195
130
|
<div id="attribute-i-call_infos" class="method-detail">
|
@@ -205,13 +140,14 @@
|
|
205
140
|
</div>
|
206
141
|
</div>
|
207
142
|
|
208
|
-
</section
|
143
|
+
</section>
|
209
144
|
|
210
145
|
|
211
|
-
<!-- Methods -->
|
212
146
|
|
213
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
214
|
-
|
147
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
148
|
+
<header>
|
149
|
+
<h3>Public Class Methods</h3>
|
150
|
+
</header>
|
215
151
|
|
216
152
|
|
217
153
|
<div id="method-c-new" class="method-detail ">
|
@@ -219,7 +155,9 @@
|
|
219
155
|
<div class="method-heading">
|
220
156
|
<span class="method-name">new</span><span
|
221
157
|
class="method-args">(call_infos)</span>
|
158
|
+
|
222
159
|
<span class="method-click-advice">click to toggle source</span>
|
160
|
+
|
223
161
|
</div>
|
224
162
|
|
225
163
|
|
@@ -227,6 +165,7 @@
|
|
227
165
|
|
228
166
|
|
229
167
|
|
168
|
+
|
230
169
|
|
231
170
|
|
232
171
|
<div class="method-source-code" id="new-source">
|
@@ -237,20 +176,22 @@
|
|
237
176
|
<span class="ruby-keyword">end</span>
|
238
177
|
<span class="ruby-ivar">@call_infos</span> = <span class="ruby-identifier">call_infos</span>
|
239
178
|
<span class="ruby-keyword">end</span></pre>
|
240
|
-
</div
|
179
|
+
</div>
|
241
180
|
|
242
181
|
</div>
|
243
182
|
|
244
183
|
|
245
184
|
|
246
185
|
|
247
|
-
</div
|
186
|
+
</div>
|
248
187
|
|
249
188
|
|
250
|
-
</section
|
189
|
+
</section>
|
251
190
|
|
252
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
253
|
-
|
191
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
192
|
+
<header>
|
193
|
+
<h3>Public Instance Methods</h3>
|
194
|
+
</header>
|
254
195
|
|
255
196
|
|
256
197
|
<div id="method-i-called" class="method-detail ">
|
@@ -258,7 +199,9 @@
|
|
258
199
|
<div class="method-heading">
|
259
200
|
<span class="method-name">called</span><span
|
260
201
|
class="method-args">()</span>
|
202
|
+
|
261
203
|
<span class="method-click-advice">click to toggle source</span>
|
204
|
+
|
262
205
|
</div>
|
263
206
|
|
264
207
|
|
@@ -266,6 +209,7 @@
|
|
266
209
|
|
267
210
|
|
268
211
|
|
212
|
+
|
269
213
|
|
270
214
|
|
271
215
|
<div class="method-source-code" id="called-source">
|
@@ -273,14 +217,14 @@
|
|
273
217
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">called</span>
|
274
218
|
<span class="ruby-identifier">aggregate</span>(<span class="ruby-value">:called</span>)
|
275
219
|
<span class="ruby-keyword">end</span></pre>
|
276
|
-
</div
|
220
|
+
</div>
|
277
221
|
|
278
222
|
</div>
|
279
223
|
|
280
224
|
|
281
225
|
|
282
226
|
|
283
|
-
</div
|
227
|
+
</div>
|
284
228
|
|
285
229
|
|
286
230
|
<div id="method-i-children" class="method-detail ">
|
@@ -288,7 +232,9 @@
|
|
288
232
|
<div class="method-heading">
|
289
233
|
<span class="method-name">children</span><span
|
290
234
|
class="method-args">()</span>
|
235
|
+
|
291
236
|
<span class="method-click-advice">click to toggle source</span>
|
237
|
+
|
292
238
|
</div>
|
293
239
|
|
294
240
|
|
@@ -296,6 +242,7 @@
|
|
296
242
|
|
297
243
|
|
298
244
|
|
245
|
+
|
299
246
|
|
300
247
|
|
301
248
|
<div class="method-source-code" id="children-source">
|
@@ -305,14 +252,14 @@
|
|
305
252
|
<span class="ruby-identifier">result</span>.<span class="ruby-identifier">concat</span>(<span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">children</span>)
|
306
253
|
<span class="ruby-keyword">end</span>
|
307
254
|
<span class="ruby-keyword">end</span></pre>
|
308
|
-
</div
|
255
|
+
</div>
|
309
256
|
|
310
257
|
</div>
|
311
258
|
|
312
259
|
|
313
260
|
|
314
261
|
|
315
|
-
</div
|
262
|
+
</div>
|
316
263
|
|
317
264
|
|
318
265
|
<div id="method-i-children_time" class="method-detail ">
|
@@ -320,7 +267,9 @@
|
|
320
267
|
<div class="method-heading">
|
321
268
|
<span class="method-name">children_time</span><span
|
322
269
|
class="method-args">()</span>
|
270
|
+
|
323
271
|
<span class="method-click-advice">click to toggle source</span>
|
272
|
+
|
324
273
|
</div>
|
325
274
|
|
326
275
|
|
@@ -328,6 +277,7 @@
|
|
328
277
|
|
329
278
|
|
330
279
|
|
280
|
+
|
331
281
|
|
332
282
|
|
333
283
|
<div class="method-source-code" id="children_time-source">
|
@@ -335,14 +285,14 @@
|
|
335
285
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">children_time</span>
|
336
286
|
<span class="ruby-identifier">aggregate_without_recursion</span>(<span class="ruby-value">:children_time</span>)
|
337
287
|
<span class="ruby-keyword">end</span></pre>
|
338
|
-
</div
|
288
|
+
</div>
|
339
289
|
|
340
290
|
</div>
|
341
291
|
|
342
292
|
|
343
293
|
|
344
294
|
|
345
|
-
</div
|
295
|
+
</div>
|
346
296
|
|
347
297
|
|
348
298
|
<div id="method-i-line" class="method-detail ">
|
@@ -350,7 +300,9 @@
|
|
350
300
|
<div class="method-heading">
|
351
301
|
<span class="method-name">line</span><span
|
352
302
|
class="method-args">()</span>
|
303
|
+
|
353
304
|
<span class="method-click-advice">click to toggle source</span>
|
305
|
+
|
354
306
|
</div>
|
355
307
|
|
356
308
|
|
@@ -358,6 +310,7 @@
|
|
358
310
|
|
359
311
|
|
360
312
|
|
313
|
+
|
361
314
|
|
362
315
|
|
363
316
|
<div class="method-source-code" id="line-source">
|
@@ -365,14 +318,14 @@
|
|
365
318
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">line</span>
|
366
319
|
<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">line</span>
|
367
320
|
<span class="ruby-keyword">end</span></pre>
|
368
|
-
</div
|
321
|
+
</div>
|
369
322
|
|
370
323
|
</div>
|
371
324
|
|
372
325
|
|
373
326
|
|
374
327
|
|
375
|
-
</div
|
328
|
+
</div>
|
376
329
|
|
377
330
|
|
378
331
|
<div id="method-i-parent" class="method-detail ">
|
@@ -380,7 +333,9 @@
|
|
380
333
|
<div class="method-heading">
|
381
334
|
<span class="method-name">parent</span><span
|
382
335
|
class="method-args">()</span>
|
336
|
+
|
383
337
|
<span class="method-click-advice">click to toggle source</span>
|
338
|
+
|
384
339
|
</div>
|
385
340
|
|
386
341
|
|
@@ -388,6 +343,7 @@
|
|
388
343
|
|
389
344
|
|
390
345
|
|
346
|
+
|
391
347
|
|
392
348
|
|
393
349
|
<div class="method-source-code" id="parent-source">
|
@@ -395,14 +351,14 @@
|
|
395
351
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">parent</span>
|
396
352
|
<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">parent</span>
|
397
353
|
<span class="ruby-keyword">end</span></pre>
|
398
|
-
</div
|
354
|
+
</div>
|
399
355
|
|
400
356
|
</div>
|
401
357
|
|
402
358
|
|
403
359
|
|
404
360
|
|
405
|
-
</div
|
361
|
+
</div>
|
406
362
|
|
407
363
|
|
408
364
|
<div id="method-i-self_time" class="method-detail ">
|
@@ -410,7 +366,9 @@
|
|
410
366
|
<div class="method-heading">
|
411
367
|
<span class="method-name">self_time</span><span
|
412
368
|
class="method-args">()</span>
|
369
|
+
|
413
370
|
<span class="method-click-advice">click to toggle source</span>
|
371
|
+
|
414
372
|
</div>
|
415
373
|
|
416
374
|
|
@@ -418,6 +376,7 @@
|
|
418
376
|
|
419
377
|
|
420
378
|
|
379
|
+
|
421
380
|
|
422
381
|
|
423
382
|
<div class="method-source-code" id="self_time-source">
|
@@ -425,14 +384,14 @@
|
|
425
384
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">self_time</span>
|
426
385
|
<span class="ruby-identifier">aggregate_without_recursion</span>(<span class="ruby-value">:self_time</span>)
|
427
386
|
<span class="ruby-keyword">end</span></pre>
|
428
|
-
</div
|
387
|
+
</div>
|
429
388
|
|
430
389
|
</div>
|
431
390
|
|
432
391
|
|
433
392
|
|
434
393
|
|
435
|
-
</div
|
394
|
+
</div>
|
436
395
|
|
437
396
|
|
438
397
|
<div id="method-i-target" class="method-detail ">
|
@@ -440,7 +399,9 @@
|
|
440
399
|
<div class="method-heading">
|
441
400
|
<span class="method-name">target</span><span
|
442
401
|
class="method-args">()</span>
|
402
|
+
|
443
403
|
<span class="method-click-advice">click to toggle source</span>
|
404
|
+
|
444
405
|
</div>
|
445
406
|
|
446
407
|
|
@@ -448,6 +409,7 @@
|
|
448
409
|
|
449
410
|
|
450
411
|
|
412
|
+
|
451
413
|
|
452
414
|
|
453
415
|
<div class="method-source-code" id="target-source">
|
@@ -455,14 +417,14 @@
|
|
455
417
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">target</span>
|
456
418
|
<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">target</span>
|
457
419
|
<span class="ruby-keyword">end</span></pre>
|
458
|
-
</div
|
420
|
+
</div>
|
459
421
|
|
460
422
|
</div>
|
461
423
|
|
462
424
|
|
463
425
|
|
464
426
|
|
465
|
-
</div
|
427
|
+
</div>
|
466
428
|
|
467
429
|
|
468
430
|
<div id="method-i-to_s" class="method-detail ">
|
@@ -470,7 +432,9 @@
|
|
470
432
|
<div class="method-heading">
|
471
433
|
<span class="method-name">to_s</span><span
|
472
434
|
class="method-args">()</span>
|
435
|
+
|
473
436
|
<span class="method-click-advice">click to toggle source</span>
|
437
|
+
|
474
438
|
</div>
|
475
439
|
|
476
440
|
|
@@ -478,6 +442,7 @@
|
|
478
442
|
|
479
443
|
|
480
444
|
|
445
|
+
|
481
446
|
|
482
447
|
|
483
448
|
<div class="method-source-code" id="to_s-source">
|
@@ -485,14 +450,14 @@
|
|
485
450
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
486
451
|
<span class="ruby-node">"#{call_infos.first.target.full_name}"</span>
|
487
452
|
<span class="ruby-keyword">end</span></pre>
|
488
|
-
</div
|
453
|
+
</div>
|
489
454
|
|
490
455
|
</div>
|
491
456
|
|
492
457
|
|
493
458
|
|
494
459
|
|
495
|
-
</div
|
460
|
+
</div>
|
496
461
|
|
497
462
|
|
498
463
|
<div id="method-i-total_time" class="method-detail ">
|
@@ -500,7 +465,9 @@
|
|
500
465
|
<div class="method-heading">
|
501
466
|
<span class="method-name">total_time</span><span
|
502
467
|
class="method-args">()</span>
|
468
|
+
|
503
469
|
<span class="method-click-advice">click to toggle source</span>
|
470
|
+
|
504
471
|
</div>
|
505
472
|
|
506
473
|
|
@@ -508,6 +475,7 @@
|
|
508
475
|
|
509
476
|
|
510
477
|
|
478
|
+
|
511
479
|
|
512
480
|
|
513
481
|
<div class="method-source-code" id="total_time-source">
|
@@ -515,14 +483,14 @@
|
|
515
483
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">total_time</span>
|
516
484
|
<span class="ruby-identifier">aggregate_without_recursion</span>(<span class="ruby-value">:total_time</span>)
|
517
485
|
<span class="ruby-keyword">end</span></pre>
|
518
|
-
</div
|
486
|
+
</div>
|
519
487
|
|
520
488
|
</div>
|
521
489
|
|
522
490
|
|
523
491
|
|
524
492
|
|
525
|
-
</div
|
493
|
+
</div>
|
526
494
|
|
527
495
|
|
528
496
|
<div id="method-i-wait_time" class="method-detail ">
|
@@ -530,7 +498,9 @@
|
|
530
498
|
<div class="method-heading">
|
531
499
|
<span class="method-name">wait_time</span><span
|
532
500
|
class="method-args">()</span>
|
501
|
+
|
533
502
|
<span class="method-click-advice">click to toggle source</span>
|
503
|
+
|
534
504
|
</div>
|
535
505
|
|
536
506
|
|
@@ -538,6 +508,7 @@
|
|
538
508
|
|
539
509
|
|
540
510
|
|
511
|
+
|
541
512
|
|
542
513
|
|
543
514
|
<div class="method-source-code" id="wait_time-source">
|
@@ -545,26 +516,25 @@
|
|
545
516
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">wait_time</span>
|
546
517
|
<span class="ruby-identifier">aggregate_without_recursion</span>(<span class="ruby-value">:wait_time</span>)
|
547
518
|
<span class="ruby-keyword">end</span></pre>
|
548
|
-
</div
|
519
|
+
</div>
|
549
520
|
|
550
521
|
</div>
|
551
522
|
|
552
523
|
|
553
524
|
|
554
525
|
|
555
|
-
</div
|
526
|
+
</div>
|
556
527
|
|
557
528
|
|
558
|
-
</section
|
529
|
+
</section>
|
559
530
|
|
560
|
-
</section
|
561
|
-
|
562
|
-
</div><!-- documentation -->
|
531
|
+
</section>
|
532
|
+
</main>
|
563
533
|
|
564
534
|
|
565
|
-
<footer id="validator-badges">
|
566
|
-
<p><a href="http://validator.w3.org/check/referer">
|
567
|
-
<p>Generated by <a href="
|
568
|
-
<p>
|
535
|
+
<footer id="validator-badges" role="contentinfo">
|
536
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
537
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
538
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
569
539
|
</footer>
|
570
540
|
|