ruby-prof 0.13.1 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +14 -0
  3. data/README.rdoc +1 -1
  4. data/Rakefile +2 -3
  5. data/bin/ruby-prof +4 -4
  6. data/bin/ruby-prof-check-trace +45 -0
  7. data/doc/LICENSE.html +49 -88
  8. data/doc/README_rdoc.html +92 -106
  9. data/doc/Rack.html +47 -116
  10. data/doc/Rack/RubyProf.html +119 -174
  11. data/doc/RubyProf.html +184 -216
  12. data/doc/RubyProf/AbstractPrinter.html +131 -162
  13. data/doc/RubyProf/AggregateCallInfo.html +136 -166
  14. data/doc/RubyProf/CallInfo.html +113 -154
  15. data/doc/RubyProf/CallInfoPrinter.html +56 -123
  16. data/doc/RubyProf/CallInfoVisitor.html +87 -216
  17. data/doc/RubyProf/CallStackPrinter.html +222 -215
  18. data/doc/RubyProf/CallTreePrinter.html +91 -142
  19. data/doc/RubyProf/Cmd.html +115 -157
  20. data/doc/RubyProf/DotPrinter.html +88 -140
  21. data/doc/RubyProf/FlatPrinter.html +66 -129
  22. data/doc/RubyProf/FlatPrinterWithLineNumbers.html +69 -132
  23. data/doc/RubyProf/GraphHtmlPrinter.html +115 -166
  24. data/doc/RubyProf/GraphPrinter.html +58 -125
  25. data/doc/RubyProf/MethodInfo.html +147 -172
  26. data/doc/RubyProf/MultiPrinter.html +104 -150
  27. data/doc/RubyProf/Profile.html +125 -179
  28. data/doc/RubyProf/ProfileTask.html +117 -157
  29. data/doc/RubyProf/Test.html +115 -154
  30. data/doc/RubyProf/Thread.html +87 -147
  31. data/doc/created.rid +13 -14
  32. data/doc/examples/flat_txt.html +51 -90
  33. data/doc/examples/graph_html.html +852 -0
  34. data/doc/examples/graph_txt.html +64 -92
  35. data/doc/fonts.css +167 -0
  36. data/doc/fonts/Lato-Light.ttf +0 -0
  37. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  38. data/doc/fonts/Lato-Regular.ttf +0 -0
  39. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  40. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  41. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  42. data/doc/images/add.png +0 -0
  43. data/doc/images/arrow_up.png +0 -0
  44. data/doc/images/delete.png +0 -0
  45. data/doc/images/tag_blue.png +0 -0
  46. data/doc/index.html +75 -65
  47. data/doc/js/darkfish.js +0 -15
  48. data/doc/js/search.js +20 -5
  49. data/doc/js/search_index.js +1 -1
  50. data/doc/rdoc.css +255 -218
  51. data/doc/table_of_contents.html +751 -353
  52. data/ext/ruby_prof/extconf.rb +20 -22
  53. data/ext/ruby_prof/rp_measure_allocations.c +9 -5
  54. data/ext/ruby_prof/rp_measure_gc_runs.c +8 -0
  55. data/ext/ruby_prof/rp_measure_gc_time.c +5 -2
  56. data/ext/ruby_prof/rp_measure_wall_time.c +1 -0
  57. data/ext/ruby_prof/rp_method.c +0 -9
  58. data/ext/ruby_prof/rp_method.h +1 -6
  59. data/ext/ruby_prof/ruby_prof.c +32 -112
  60. data/ext/ruby_prof/ruby_prof.h +9 -10
  61. data/lib/ruby-prof.rb +2 -1
  62. data/lib/ruby-prof/aggregate_call_info.rb +4 -6
  63. data/lib/ruby-prof/call_info_visitor.rb +42 -44
  64. data/lib/ruby-prof/printers/graph_html_printer.rb +0 -8
  65. data/lib/ruby-prof/profile.rb +4 -4
  66. data/lib/ruby-prof/rack.rb +47 -47
  67. data/lib/ruby-prof/task.rb +0 -0
  68. data/lib/ruby-prof/thread.rb +22 -22
  69. data/lib/ruby-prof/version.rb +3 -0
  70. data/ruby-prof.gemspec +7 -11
  71. data/test/call_info_test.rb +78 -78
  72. data/test/call_info_visitor_test.rb +31 -31
  73. data/test/fiber_test.rb +2 -2
  74. data/test/measure_gc_runs_test.rb +1 -1
  75. data/test/measure_process_time_test.rb +7 -6
  76. data/test/printers_test.rb +4 -8
  77. data/test/recursive_test.rb +5 -9
  78. data/test/test_helper.rb +1 -1
  79. data/test/unique_call_path_test.rb +7 -29
  80. data/test/yarv_test.rb +55 -0
  81. metadata +63 -55
  82. data/ext/ruby_prof/version.h +0 -7
  83. data/lib/ruby-prof/test.rb +0 -150
  84. data/test/exec_test.rb +0 -14
  85. data/test/test_suite.rb +0 -37
@@ -2,153 +2,87 @@
2
2
 
3
3
  <html>
4
4
  <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <meta charset="UTF-8">
6
6
 
7
7
  <title>class RubyProf::CallInfoPrinter - ruby-prof</title>
8
8
 
9
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
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 type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></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 id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../index.html">Home</a>
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
- </h3>
31
- </nav>
32
-
36
+ </div>
37
+ </div>
33
38
 
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
35
40
  <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
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
- </h3>
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/printers/call_info_printer.rb
51
- </ul>
52
- </nav>
53
-
54
-
55
54
  </div>
56
55
 
56
+
57
+
57
58
  <div id="class-metadata">
58
59
 
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</h3>
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
61
63
 
62
64
  <p class="link"><a href="AbstractPrinter.html">RubyProf::AbstractPrinter</a>
63
65
 
64
- </nav>
66
+ </div>
65
67
 
66
68
 
67
69
 
68
- </div>
69
-
70
- <div id="project-metadata">
71
- <nav id="fileindex-section" class="section project-section">
72
- <h3 class="section-header">Pages</h3>
73
-
74
- <ul>
75
-
76
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
77
-
78
- <li class="file"><a href="../README_rdoc.html">README</a>
79
-
80
- <li class="file"><a href="../examples/flat_txt.html">flat</a>
81
-
82
- <li class="file"><a href="../examples/graph_txt.html">graph</a>
83
-
84
- </ul>
85
- </nav>
86
-
87
- <nav id="classindex-section" class="section project-section">
88
- <h3 class="section-header">Class and Module Index</h3>
89
-
90
- <ul class="link-list">
91
-
92
- <li><a href="../RubyProf.html">RubyProf</a>
93
-
94
- <li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
95
-
96
- <li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
97
-
98
- <li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
99
-
100
- <li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
101
-
102
- <li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
103
-
104
- <li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
105
-
106
- <li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
107
-
108
- <li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
109
-
110
- <li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
111
-
112
- <li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
113
-
114
- <li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
115
-
116
- <li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
117
-
118
- <li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
119
-
120
- <li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
121
-
122
- <li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
123
-
124
- <li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
125
-
126
- <li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
127
-
128
- <li><a href="../RubyProf/Test.html">RubyProf::Test</a>
129
-
130
- <li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
131
-
132
- <li><a href="../Rack.html">Rack</a>
133
-
134
- <li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
135
-
136
- </ul>
137
- </nav>
138
-
70
+
139
71
  </div>
140
72
  </nav>
141
73
 
142
- <div id="documentation">
143
- <h1 class="class">class RubyProf::CallInfoPrinter</h1>
74
+ <main role="main" aria-labelledby="class-RubyProf::CallInfoPrinter">
75
+ <h1 id="class-RubyProf::CallInfoPrinter" class="class">
76
+ class RubyProf::CallInfoPrinter
77
+ </h1>
144
78
 
145
- <div id="description" class="description">
79
+ <section class="description">
146
80
 
147
81
  <p>Prints out the call graph based on <a href="CallInfo.html">CallInfo</a>
148
82
  instances. This is mainly for debugging purposes as it provides access
149
83
  into into RubyProf&#39;s internals.</p>
150
84
 
151
- </div><!-- description -->
85
+ </section>
152
86
 
153
87
 
154
88
 
@@ -159,14 +93,15 @@ into into RubyProf&#39;s internals.</p>
159
93
 
160
94
 
161
95
 
162
- <!-- Constants -->
163
- <section id="constants-list" class="section">
164
- <h3 class="section-header">Constants</h3>
96
+ <section class="constants-list">
97
+ <header>
98
+ <h3>Constants</h3>
99
+ </header>
165
100
  <dl>
166
101
 
167
102
  <dt id="TIME_WIDTH">TIME_WIDTH
168
103
 
169
- <dd class="description">
104
+ <dd>
170
105
 
171
106
 
172
107
  </dl>
@@ -175,16 +110,14 @@ into into RubyProf&#39;s internals.</p>
175
110
 
176
111
 
177
112
 
178
- <!-- Methods -->
179
113
 
180
- </section><!-- 5Buntitled-5D -->
181
-
182
- </div><!-- documentation -->
114
+ </section>
115
+ </main>
183
116
 
184
117
 
185
- <footer id="validator-badges">
186
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
187
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
188
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
118
+ <footer id="validator-badges" role="contentinfo">
119
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
120
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
121
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
189
122
  </footer>
190
123
 
@@ -2,163 +2,95 @@
2
2
 
3
3
  <html>
4
4
  <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <meta charset="UTF-8">
6
6
 
7
7
  <title>class RubyProf::CallInfoVisitor - ruby-prof</title>
8
8
 
9
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
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 type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></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 id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../index.html">Home</a>
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
- </h3>
31
- </nav>
32
-
36
+ </div>
37
+ </div>
33
38
 
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
35
40
  <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
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
- </h3>
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/call_info_visitor.rb
51
- </ul>
52
- </nav>
53
-
54
-
55
54
  </div>
56
55
 
56
+
57
+
57
58
  <div id="class-metadata">
58
59
 
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</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
- </nav>
66
+ </div>
65
67
 
66
68
 
69
+
67
70
  <!-- Method Quickref -->
68
- <nav id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</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-visit">#visit</a>
78
+ <li ><a href="#method-i-visit">#visit</a>
76
79
 
77
- <li><a href="#method-i-visit_call_info">#visit_call_info</a>
78
-
79
- </ul>
80
- </nav>
81
-
82
- </div>
83
-
84
- <div id="project-metadata">
85
- <nav id="fileindex-section" class="section project-section">
86
- <h3 class="section-header">Pages</h3>
87
-
88
- <ul>
89
-
90
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
91
-
92
- <li class="file"><a href="../README_rdoc.html">README</a>
93
-
94
- <li class="file"><a href="../examples/flat_txt.html">flat</a>
95
-
96
- <li class="file"><a href="../examples/graph_txt.html">graph</a>
97
-
98
- </ul>
99
- </nav>
100
-
101
- <nav id="classindex-section" class="section project-section">
102
- <h3 class="section-header">Class and Module Index</h3>
103
-
104
- <ul class="link-list">
105
-
106
- <li><a href="../RubyProf.html">RubyProf</a>
107
-
108
- <li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
109
-
110
- <li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
111
-
112
- <li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
113
-
114
- <li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
115
-
116
- <li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
117
-
118
- <li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
119
-
120
- <li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
121
-
122
- <li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
123
-
124
- <li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
125
-
126
- <li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
127
-
128
- <li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
129
-
130
- <li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
131
-
132
- <li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
133
-
134
- <li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
135
-
136
- <li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
137
-
138
- <li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
139
-
140
- <li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
141
-
142
- <li><a href="../RubyProf/Test.html">RubyProf::Test</a>
143
-
144
- <li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
145
-
146
- <li><a href="../Rack.html">Rack</a>
147
-
148
- <li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
149
-
150
80
  </ul>
151
- </nav>
81
+ </div>
152
82
 
153
83
  </div>
154
84
  </nav>
155
85
 
156
- <div id="documentation">
157
- <h1 class="class">class RubyProf::CallInfoVisitor</h1>
86
+ <main role="main" aria-labelledby="class-RubyProf::CallInfoVisitor">
87
+ <h1 id="class-RubyProf::CallInfoVisitor" class="class">
88
+ class RubyProf::CallInfoVisitor
89
+ </h1>
158
90
 
159
- <div id="description" class="description">
91
+ <section class="description">
160
92
 
161
- </div><!-- description -->
93
+ </section>
162
94
 
163
95
 
164
96
 
@@ -171,44 +103,12 @@
171
103
 
172
104
 
173
105
 
174
- <!-- Attributes -->
175
- <section id="attribute-method-details" class="method-section section">
176
- <h3 class="section-header">Attributes</h3>
177
-
178
-
179
- <div id="attribute-i-block" class="method-detail">
180
- <div class="method-heading attribute-method-heading">
181
- <span class="method-name">block</span><span
182
- class="attribute-access-type">[R]</span>
183
- </div>
184
-
185
- <div class="method-description">
186
-
187
-
188
-
189
- </div>
190
- </div>
191
-
192
- <div id="attribute-i-thread" class="method-detail">
193
- <div class="method-heading attribute-method-heading">
194
- <span class="method-name">thread</span><span
195
- class="attribute-access-type">[R]</span>
196
- </div>
197
-
198
- <div class="method-description">
199
-
200
-
201
-
202
- </div>
203
- </div>
204
-
205
- </section><!-- attribute-method-details -->
206
-
207
106
 
208
- <!-- Methods -->
209
107
 
210
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
211
- <h3 class="section-header">Public Class Methods</h3>
108
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
109
+ <header>
110
+ <h3>Public Class Methods</h3>
111
+ </header>
212
112
 
213
113
 
214
114
  <div id="method-c-new" class="method-detail ">
@@ -216,7 +116,9 @@
216
116
  <div class="method-heading">
217
117
  <span class="method-name">new</span><span
218
118
  class="method-args">(thread)</span>
119
+
219
120
  <span class="method-click-advice">click to toggle source</span>
121
+
220
122
  </div>
221
123
 
222
124
 
@@ -224,27 +126,30 @@
224
126
 
225
127
 
226
128
 
129
+
227
130
 
228
131
 
229
132
  <div class="method-source-code" id="new-source">
230
- <pre><span class="ruby-comment"># File lib/ruby-prof/call_info_visitor.rb, line 22</span>
231
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">thread</span>)
232
- <span class="ruby-ivar">@thread</span> = <span class="ruby-identifier">thread</span>
133
+ <pre><span class="ruby-comment"># File lib/ruby-prof/call_info_visitor.rb, line 21</span>
134
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">thread</span>)
135
+ <span class="ruby-ivar">@thread</span> = <span class="ruby-identifier">thread</span>
233
136
  <span class="ruby-keyword">end</span></pre>
234
- </div><!-- new-source -->
137
+ </div>
235
138
 
236
139
  </div>
237
140
 
238
141
 
239
142
 
240
143
 
241
- </div><!-- new-method -->
144
+ </div>
242
145
 
243
146
 
244
- </section><!-- public-class-method-details -->
147
+ </section>
245
148
 
246
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
247
- <h3 class="section-header">Public Instance Methods</h3>
149
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
150
+ <header>
151
+ <h3>Public Instance Methods</h3>
152
+ </header>
248
153
 
249
154
 
250
155
  <div id="method-i-visit" class="method-detail ">
@@ -252,43 +157,9 @@
252
157
  <div class="method-heading">
253
158
  <span class="method-name">visit</span><span
254
159
  class="method-args">(&block)</span>
255
- <span class="method-click-advice">click to toggle source</span>
256
- </div>
257
-
258
-
259
- <div class="method-description">
260
-
261
-
262
160
 
263
-
264
-
265
- <div class="method-source-code" id="visit-source">
266
- <pre><span class="ruby-comment"># File lib/ruby-prof/call_info_visitor.rb, line 26</span>
267
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">visit</span>(&amp;<span class="ruby-identifier">block</span>)
268
- <span class="ruby-ivar">@block</span> = <span class="ruby-identifier">block</span>
269
-
270
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">thread</span>.<span class="ruby-identifier">top_methods</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">method_info</span><span class="ruby-operator">|</span>
271
- <span class="ruby-identifier">method_info</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
272
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">visit_call_info</span>(<span class="ruby-identifier">call_info</span>)
273
- <span class="ruby-keyword">end</span>
274
- <span class="ruby-keyword">end</span>
275
- <span class="ruby-keyword">end</span></pre>
276
- </div><!-- visit-source -->
277
-
278
- </div>
279
-
280
-
281
-
282
-
283
- </div><!-- visit-method -->
284
-
285
-
286
- <div id="method-i-visit_call_info" class="method-detail ">
287
-
288
- <div class="method-heading">
289
- <span class="method-name">visit_call_info</span><span
290
- class="method-args">(call_info)</span>
291
161
  <span class="method-click-advice">click to toggle source</span>
162
+
292
163
  </div>
293
164
 
294
165
 
@@ -296,37 +167,37 @@
296
167
 
297
168
 
298
169
 
170
+
299
171
 
300
172
 
301
- <div class="method-source-code" id="visit_call_info-source">
302
- <pre><span class="ruby-comment"># File lib/ruby-prof/call_info_visitor.rb, line 36</span>
303
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">visit_call_info</span>(<span class="ruby-identifier">call_info</span>)
304
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">call_info</span>, <span class="ruby-value">:enter</span>)
305
- <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">children</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">child</span><span class="ruby-operator">|</span>
306
- <span class="ruby-identifier">visit_call_info</span>(<span class="ruby-identifier">child</span>)
307
- <span class="ruby-keyword">end</span>
308
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">call_info</span>, <span class="ruby-value">:exit</span>)
173
+ <div class="method-source-code" id="visit-source">
174
+ <pre><span class="ruby-comment"># File lib/ruby-prof/call_info_visitor.rb, line 25</span>
175
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">visit</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
176
+ <span class="ruby-ivar">@thread</span>.<span class="ruby-identifier">top_methods</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">method_info</span><span class="ruby-operator">|</span>
177
+ <span class="ruby-identifier">method_info</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
178
+ <span class="ruby-identifier">visit_call_info</span>(<span class="ruby-identifier">call_info</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
179
+ <span class="ruby-keyword">end</span>
180
+ <span class="ruby-keyword">end</span>
309
181
  <span class="ruby-keyword">end</span></pre>
310
- </div><!-- visit_call_info-source -->
182
+ </div>
311
183
 
312
184
  </div>
313
185
 
314
186
 
315
187
 
316
188
 
317
- </div><!-- visit_call_info-method -->
189
+ </div>
318
190
 
319
191
 
320
- </section><!-- public-instance-method-details -->
192
+ </section>
321
193
 
322
- </section><!-- 5Buntitled-5D -->
323
-
324
- </div><!-- documentation -->
194
+ </section>
195
+ </main>
325
196
 
326
197
 
327
- <footer id="validator-badges">
328
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
329
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
330
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
198
+ <footer id="validator-badges" role="contentinfo">
199
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
200
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
201
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
331
202
  </footer>
332
203