ruby-prof 0.17.0 → 0.18.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.
Files changed (185) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGES +500 -482
  3. data/LICENSE +24 -24
  4. data/README.rdoc +487 -485
  5. data/Rakefile +113 -113
  6. data/bin/ruby-prof +345 -345
  7. data/bin/ruby-prof-check-trace +45 -45
  8. data/examples/flat.txt +50 -50
  9. data/examples/graph.dot +84 -84
  10. data/examples/graph.html +823 -823
  11. data/examples/graph.txt +139 -139
  12. data/examples/multi.flat.txt +23 -23
  13. data/examples/multi.graph.html +760 -760
  14. data/examples/multi.grind.dat +114 -114
  15. data/examples/multi.stack.html +547 -547
  16. data/examples/stack.html +547 -547
  17. data/ext/ruby_prof/extconf.rb +68 -68
  18. data/ext/ruby_prof/rp_call_info.c +425 -425
  19. data/ext/ruby_prof/rp_call_info.h +53 -53
  20. data/ext/ruby_prof/rp_measure.c +40 -40
  21. data/ext/ruby_prof/rp_measure.h +45 -45
  22. data/ext/ruby_prof/rp_measure_allocations.c +76 -76
  23. data/ext/ruby_prof/rp_measure_cpu_time.c +136 -136
  24. data/ext/ruby_prof/rp_measure_gc_runs.c +73 -73
  25. data/ext/ruby_prof/rp_measure_gc_time.c +60 -60
  26. data/ext/ruby_prof/rp_measure_memory.c +77 -77
  27. data/ext/ruby_prof/rp_measure_process_time.c +71 -71
  28. data/ext/ruby_prof/rp_measure_wall_time.c +45 -45
  29. data/ext/ruby_prof/rp_method.c +630 -636
  30. data/ext/ruby_prof/rp_method.h +75 -75
  31. data/ext/ruby_prof/rp_stack.c +173 -173
  32. data/ext/ruby_prof/rp_stack.h +63 -63
  33. data/ext/ruby_prof/rp_thread.c +277 -276
  34. data/ext/ruby_prof/rp_thread.h +27 -27
  35. data/ext/ruby_prof/ruby_prof.c +794 -774
  36. data/ext/ruby_prof/ruby_prof.h +60 -59
  37. data/ext/ruby_prof/vc/ruby_prof.sln +20 -21
  38. data/ext/ruby_prof/vc/{ruby_prof_20.vcxproj → ruby_prof.vcxproj} +31 -0
  39. data/lib/ruby-prof.rb +68 -68
  40. data/lib/ruby-prof/aggregate_call_info.rb +76 -76
  41. data/lib/ruby-prof/assets/call_stack_printer.css.html +116 -116
  42. data/lib/ruby-prof/assets/call_stack_printer.js.html +384 -384
  43. data/lib/ruby-prof/call_info.rb +115 -115
  44. data/lib/ruby-prof/call_info_visitor.rb +40 -40
  45. data/lib/ruby-prof/compatibility.rb +179 -178
  46. data/lib/ruby-prof/method_info.rb +121 -121
  47. data/lib/ruby-prof/printers/abstract_printer.rb +104 -103
  48. data/lib/ruby-prof/printers/call_info_printer.rb +41 -41
  49. data/lib/ruby-prof/printers/call_stack_printer.rb +265 -265
  50. data/lib/ruby-prof/printers/call_tree_printer.rb +143 -143
  51. data/lib/ruby-prof/printers/dot_printer.rb +132 -132
  52. data/lib/ruby-prof/printers/flat_printer.rb +70 -70
  53. data/lib/ruby-prof/printers/flat_printer_with_line_numbers.rb +83 -83
  54. data/lib/ruby-prof/printers/graph_html_printer.rb +249 -249
  55. data/lib/ruby-prof/printers/graph_printer.rb +116 -116
  56. data/lib/ruby-prof/printers/multi_printer.rb +84 -84
  57. data/lib/ruby-prof/profile.rb +26 -26
  58. data/lib/ruby-prof/profile/exclude_common_methods.rb +207 -201
  59. data/lib/ruby-prof/profile/legacy_method_elimination.rb +50 -49
  60. data/lib/ruby-prof/rack.rb +174 -174
  61. data/lib/ruby-prof/task.rb +147 -147
  62. data/lib/ruby-prof/thread.rb +35 -35
  63. data/lib/ruby-prof/version.rb +3 -3
  64. data/lib/unprof.rb +10 -10
  65. data/ruby-prof.gemspec +58 -58
  66. data/test/abstract_printer_test.rb +53 -0
  67. data/test/aggregate_test.rb +136 -136
  68. data/test/basic_test.rb +128 -128
  69. data/test/block_test.rb +74 -74
  70. data/test/call_info_test.rb +78 -78
  71. data/test/call_info_visitor_test.rb +31 -31
  72. data/test/duplicate_names_test.rb +32 -32
  73. data/test/dynamic_method_test.rb +55 -55
  74. data/test/enumerable_test.rb +21 -21
  75. data/test/exceptions_test.rb +24 -16
  76. data/test/exclude_methods_test.rb +146 -146
  77. data/test/exclude_threads_test.rb +53 -53
  78. data/test/fiber_test.rb +79 -79
  79. data/test/issue137_test.rb +63 -63
  80. data/test/line_number_test.rb +80 -80
  81. data/test/measure_allocations_test.rb +26 -26
  82. data/test/measure_cpu_time_test.rb +212 -213
  83. data/test/measure_gc_runs_test.rb +32 -32
  84. data/test/measure_gc_time_test.rb +36 -36
  85. data/test/measure_memory_test.rb +33 -33
  86. data/test/measure_process_time_test.rb +61 -63
  87. data/test/measure_wall_time_test.rb +255 -255
  88. data/test/method_elimination_test.rb +84 -84
  89. data/test/module_test.rb +45 -45
  90. data/test/multi_printer_test.rb +104 -104
  91. data/test/no_method_class_test.rb +15 -15
  92. data/test/pause_resume_test.rb +166 -166
  93. data/test/prime.rb +54 -54
  94. data/test/printers_test.rb +275 -275
  95. data/test/printing_recursive_graph_test.rb +127 -127
  96. data/test/rack_test.rb +157 -157
  97. data/test/recursive_test.rb +215 -215
  98. data/test/singleton_test.rb +38 -38
  99. data/test/stack_printer_test.rb +77 -78
  100. data/test/stack_test.rb +138 -138
  101. data/test/start_stop_test.rb +112 -112
  102. data/test/test_helper.rb +267 -275
  103. data/test/thread_test.rb +187 -187
  104. data/test/unique_call_path_test.rb +202 -202
  105. data/test/yarv_test.rb +55 -55
  106. metadata +17 -96
  107. data/doc/LICENSE.html +0 -115
  108. data/doc/README_rdoc.html +0 -637
  109. data/doc/Rack.html +0 -96
  110. data/doc/Rack/RubyProf.html +0 -233
  111. data/doc/Rack/RubyProf/RackProfiler.html +0 -343
  112. data/doc/RubyProf.html +0 -974
  113. data/doc/RubyProf/AbstractPrinter.html +0 -625
  114. data/doc/RubyProf/AggregateCallInfo.html +0 -552
  115. data/doc/RubyProf/CallInfo.html +0 -579
  116. data/doc/RubyProf/CallInfoPrinter.html +0 -121
  117. data/doc/RubyProf/CallInfoVisitor.html +0 -199
  118. data/doc/RubyProf/CallStackPrinter.html +0 -1127
  119. data/doc/RubyProf/CallTreePrinter.html +0 -725
  120. data/doc/RubyProf/Cmd.html +0 -637
  121. data/doc/RubyProf/DeprecationWarnings.html +0 -148
  122. data/doc/RubyProf/DotPrinter.html +0 -258
  123. data/doc/RubyProf/FlatPrinter.html +0 -164
  124. data/doc/RubyProf/FlatPrinterWithLineNumbers.html +0 -210
  125. data/doc/RubyProf/GraphHtmlPrinter.html +0 -558
  126. data/doc/RubyProf/GraphPrinter.html +0 -140
  127. data/doc/RubyProf/MethodInfo.html +0 -676
  128. data/doc/RubyProf/MultiPrinter.html +0 -574
  129. data/doc/RubyProf/Profile.html +0 -908
  130. data/doc/RubyProf/Profile/ExcludeCommonMethods.html +0 -411
  131. data/doc/RubyProf/Profile/LegacyMethodElimination.html +0 -158
  132. data/doc/RubyProf/ProfileTask.html +0 -491
  133. data/doc/RubyProf/Thread.html +0 -275
  134. data/doc/created.rid +0 -33
  135. data/doc/css/fonts.css +0 -167
  136. data/doc/css/rdoc.css +0 -590
  137. data/doc/examples/flat_txt.html +0 -139
  138. data/doc/examples/graph_html.html +0 -910
  139. data/doc/examples/graph_txt.html +0 -248
  140. data/doc/fonts/Lato-Light.ttf +0 -0
  141. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  142. data/doc/fonts/Lato-Regular.ttf +0 -0
  143. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  144. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  145. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  146. data/doc/images/add.png +0 -0
  147. data/doc/images/arrow_up.png +0 -0
  148. data/doc/images/brick.png +0 -0
  149. data/doc/images/brick_link.png +0 -0
  150. data/doc/images/bug.png +0 -0
  151. data/doc/images/bullet_black.png +0 -0
  152. data/doc/images/bullet_toggle_minus.png +0 -0
  153. data/doc/images/bullet_toggle_plus.png +0 -0
  154. data/doc/images/date.png +0 -0
  155. data/doc/images/delete.png +0 -0
  156. data/doc/images/find.png +0 -0
  157. data/doc/images/loadingAnimation.gif +0 -0
  158. data/doc/images/macFFBgHack.png +0 -0
  159. data/doc/images/package.png +0 -0
  160. data/doc/images/page_green.png +0 -0
  161. data/doc/images/page_white_text.png +0 -0
  162. data/doc/images/page_white_width.png +0 -0
  163. data/doc/images/plugin.png +0 -0
  164. data/doc/images/ruby.png +0 -0
  165. data/doc/images/tag_blue.png +0 -0
  166. data/doc/images/tag_green.png +0 -0
  167. data/doc/images/transparent.png +0 -0
  168. data/doc/images/wrench.png +0 -0
  169. data/doc/images/wrench_orange.png +0 -0
  170. data/doc/images/zoom.png +0 -0
  171. data/doc/index.html +0 -666
  172. data/doc/js/darkfish.js +0 -161
  173. data/doc/js/jquery.js +0 -4
  174. data/doc/js/navigation.js +0 -142
  175. data/doc/js/navigation.js.gz +0 -0
  176. data/doc/js/search.js +0 -109
  177. data/doc/js/search_index.js +0 -1
  178. data/doc/js/search_index.js.gz +0 -0
  179. data/doc/js/searcher.js +0 -229
  180. data/doc/js/searcher.js.gz +0 -0
  181. data/doc/table_of_contents.html +0 -1052
  182. data/examples/cachegrind.out.1 +0 -114
  183. data/examples/cachegrind.out.1.32313213 +0 -114
  184. data/ext/ruby_prof/vc/ruby_prof_18.vcxproj +0 -108
  185. data/ext/ruby_prof/vc/ruby_prof_19.vcxproj +0 -110
@@ -1,114 +0,0 @@
1
- events: wall_time
2
-
3
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
4
- fn=Array#first
5
- 0 1
6
-
7
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
8
- fn=Object#find_largest
9
- 31 3
10
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
11
- cfn=Array#first
12
- calls=1 32
13
- 32 1
14
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
15
- cfn=Integer#upto
16
- calls=1 36
17
- 36 11
18
-
19
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
20
- fn=Integer#upto
21
- 0 2582
22
-
23
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
24
- fn=Object#is_prime
25
- 16 92
26
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
27
- cfn=Integer#upto
28
- calls=200 18
29
- 18 2571
30
-
31
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
32
- fn=Array#select
33
- 0 84
34
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
35
- cfn=Object#is_prime
36
- calls=200 26
37
- 26 2663
38
-
39
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
40
- fn=Object#find_primes
41
- 24 2
42
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
43
- cfn=Array#select
44
- calls=1 25
45
- 25 2747
46
-
47
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
48
- fn=Kernel#respond_to_missing?
49
- 0 30
50
-
51
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
52
- fn=Kernel#rand
53
- 0 87
54
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
55
- cfn=Kernel#respond_to_missing?
56
- calls=200 10
57
- 10 30
58
-
59
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
60
- fn=Array#each_index
61
- 0 70
62
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
63
- cfn=Kernel#rand
64
- calls=200 10
65
- 10 118
66
-
67
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
68
- fn=Array#initialize
69
- 0 2
70
-
71
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
72
- fn=Class#new
73
- 0 4
74
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
75
- cfn=Array#initialize
76
- calls=1 8
77
- 8 2
78
-
79
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
80
- fn=Object#make_random_array
81
- 7 3
82
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
83
- cfn=Class#new
84
- calls=1 8
85
- 8 6
86
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
87
- cfn=Array#each_index
88
- calls=1 9
89
- 9 188
90
-
91
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
92
- fn=Object#run_primes
93
- 45 2
94
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
95
- cfn=Object#make_random_array
96
- calls=1 47
97
- 47 197
98
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
99
- cfn=Object#find_primes
100
- calls=1 50
101
- 50 2749
102
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
103
- cfn=Object#find_largest
104
- calls=1 53
105
- 53 15
106
-
107
- fl=/Users/stefan.kaes/src/ruby-prof/test/printers_test.rb
108
- fn=PrintersTest#setup
109
- 14 5
110
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
111
- cfn=Object#run_primes
112
- calls=1 14
113
- 14 2963
114
-
@@ -1,114 +0,0 @@
1
- events: wall_time
2
-
3
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
4
- fn=Array#first
5
- 0 1
6
-
7
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
8
- fn=Object#find_largest
9
- 31 3
10
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
11
- cfn=Array#first
12
- calls=1 32
13
- 32 1
14
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
15
- cfn=Integer#upto
16
- calls=1 36
17
- 36 11
18
-
19
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
20
- fn=Integer#upto
21
- 0 2582
22
-
23
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
24
- fn=Object#is_prime
25
- 16 92
26
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
27
- cfn=Integer#upto
28
- calls=200 18
29
- 18 2571
30
-
31
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
32
- fn=Array#select
33
- 0 84
34
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
35
- cfn=Object#is_prime
36
- calls=200 26
37
- 26 2663
38
-
39
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
40
- fn=Object#find_primes
41
- 24 2
42
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
43
- cfn=Array#select
44
- calls=1 25
45
- 25 2747
46
-
47
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
48
- fn=Kernel#respond_to_missing?
49
- 0 30
50
-
51
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
52
- fn=Kernel#rand
53
- 0 87
54
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
55
- cfn=Kernel#respond_to_missing?
56
- calls=200 10
57
- 10 30
58
-
59
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
60
- fn=Array#each_index
61
- 0 70
62
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
63
- cfn=Kernel#rand
64
- calls=200 10
65
- 10 118
66
-
67
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
68
- fn=Array#initialize
69
- 0 2
70
-
71
- fl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
72
- fn=Class#new
73
- 0 4
74
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
75
- cfn=Array#initialize
76
- calls=1 8
77
- 8 2
78
-
79
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
80
- fn=Object#make_random_array
81
- 7 3
82
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
83
- cfn=Class#new
84
- calls=1 8
85
- 8 6
86
- cfl=/Users/stefan.kaes/src/ruby-prof/ruby_runtime
87
- cfn=Array#each_index
88
- calls=1 9
89
- 9 188
90
-
91
- fl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
92
- fn=Object#run_primes
93
- 45 2
94
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
95
- cfn=Object#make_random_array
96
- calls=1 47
97
- 47 197
98
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
99
- cfn=Object#find_primes
100
- calls=1 50
101
- 50 2749
102
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
103
- cfn=Object#find_largest
104
- calls=1 53
105
- 53 15
106
-
107
- fl=/Users/stefan.kaes/src/ruby-prof/test/printers_test.rb
108
- fn=PrintersTest#setup
109
- 14 5
110
- cfl=/Users/stefan.kaes/src/ruby-prof/test/prime.rb
111
- cfn=Object#run_primes
112
- calls=1 14
113
- 14 2963
114
-
@@ -1,108 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <ItemGroup Label="ProjectConfigurations">
4
- <ProjectConfiguration Include="Debug|Win32">
5
- <Configuration>Debug</Configuration>
6
- <Platform>Win32</Platform>
7
- </ProjectConfiguration>
8
- <ProjectConfiguration Include="Release|Win32">
9
- <Configuration>Release</Configuration>
10
- <Platform>Win32</Platform>
11
- </ProjectConfiguration>
12
- </ItemGroup>
13
- <ItemGroup>
14
- <ClInclude Include="..\rp_call_info.h" />
15
- <ClInclude Include="..\rp_measure.h" />
16
- <ClInclude Include="..\rp_method.h" />
17
- <ClInclude Include="..\rp_stack.h" />
18
- <ClInclude Include="..\rp_thread.h" />
19
- <ClInclude Include="..\ruby_prof.h" />
20
- <ClInclude Include="..\version.h" />
21
- </ItemGroup>
22
- <ItemGroup>
23
- <ClCompile Include="..\rp_call_info.c" />
24
- <ClCompile Include="..\rp_measure.c" />
25
- <ClCompile Include="..\rp_measure_allocations.c" />
26
- <ClCompile Include="..\rp_measure_cpu_time.c" />
27
- <ClCompile Include="..\rp_measure_gc_runs.c" />
28
- <ClCompile Include="..\rp_measure_gc_time.c" />
29
- <ClCompile Include="..\rp_measure_memory.c" />
30
- <ClCompile Include="..\rp_measure_process_time.c" />
31
- <ClCompile Include="..\rp_measure_wall_time.c" />
32
- <ClCompile Include="..\rp_method.c" />
33
- <ClCompile Include="..\rp_stack.c" />
34
- <ClCompile Include="..\rp_thread.c" />
35
- <ClCompile Include="..\ruby_prof.c" />
36
- </ItemGroup>
37
- <PropertyGroup Label="Globals">
38
- <ProjectGuid>{7789FC23-D053-4733-9ED1-D6CE099E1237}</ProjectGuid>
39
- <Keyword>Win32Proj</Keyword>
40
- <RootNamespace>ruby_prof_18</RootNamespace>
41
- </PropertyGroup>
42
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
43
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
44
- <ConfigurationType>DynamicLibrary</ConfigurationType>
45
- <UseDebugLibraries>true</UseDebugLibraries>
46
- <CharacterSet>Unicode</CharacterSet>
47
- </PropertyGroup>
48
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
49
- <ConfigurationType>DynamicLibrary</ConfigurationType>
50
- <UseDebugLibraries>false</UseDebugLibraries>
51
- <WholeProgramOptimization>true</WholeProgramOptimization>
52
- <CharacterSet>Unicode</CharacterSet>
53
- </PropertyGroup>
54
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55
- <ImportGroup Label="ExtensionSettings">
56
- </ImportGroup>
57
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
58
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59
- </ImportGroup>
60
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62
- </ImportGroup>
63
- <PropertyGroup Label="UserMacros" />
64
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
65
- <LinkIncremental>true</LinkIncremental>
66
- <OutDir>C:\MinGW\local\src\ruby-prof\lib\1.8</OutDir>
67
- <TargetExt>.so</TargetExt>
68
- <TargetName>ruby_prof</TargetName>
69
- </PropertyGroup>
70
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
71
- <LinkIncremental>false</LinkIncremental>
72
- </PropertyGroup>
73
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
74
- <ClCompile>
75
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
76
- <WarningLevel>Level3</WarningLevel>
77
- <Optimization>Disabled</Optimization>
78
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;RUBY_PROF_18_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79
- <AdditionalIncludeDirectories>C:\MinGW\local\ruby187vc\lib\ruby\1.8\i386-mswin32_100</AdditionalIncludeDirectories>
80
- </ClCompile>
81
- <Link>
82
- <SubSystem>Windows</SubSystem>
83
- <GenerateDebugInformation>true</GenerateDebugInformation>
84
- <AdditionalLibraryDirectories>C:\MinGW\local\ruby187vc\lib</AdditionalLibraryDirectories>
85
- <AdditionalDependencies>msvcr100-ruby18.lib;%(AdditionalDependencies)</AdditionalDependencies>
86
- <ModuleDefinitionFile>ruby_prof.def</ModuleDefinitionFile>
87
- </Link>
88
- </ItemDefinitionGroup>
89
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
90
- <ClCompile>
91
- <WarningLevel>Level3</WarningLevel>
92
- <PrecompiledHeader>Use</PrecompiledHeader>
93
- <Optimization>MaxSpeed</Optimization>
94
- <FunctionLevelLinking>true</FunctionLevelLinking>
95
- <IntrinsicFunctions>true</IntrinsicFunctions>
96
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;RUBY_PROF_18_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97
- </ClCompile>
98
- <Link>
99
- <SubSystem>Windows</SubSystem>
100
- <GenerateDebugInformation>true</GenerateDebugInformation>
101
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
102
- <OptimizeReferences>true</OptimizeReferences>
103
- </Link>
104
- </ItemDefinitionGroup>
105
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
106
- <ImportGroup Label="ExtensionTargets">
107
- </ImportGroup>
108
- </Project>
@@ -1,110 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <ItemGroup Label="ProjectConfigurations">
4
- <ProjectConfiguration Include="Debug|Win32">
5
- <Configuration>Debug</Configuration>
6
- <Platform>Win32</Platform>
7
- </ProjectConfiguration>
8
- <ProjectConfiguration Include="Release|Win32">
9
- <Configuration>Release</Configuration>
10
- <Platform>Win32</Platform>
11
- </ProjectConfiguration>
12
- </ItemGroup>
13
- <PropertyGroup Label="Globals">
14
- <ProjectGuid>{5AF7F29A-B100-4D61-95DA-DB21D7C8C1B8}</ProjectGuid>
15
- <Keyword>Win32Proj</Keyword>
16
- <RootNamespace>ruby_prof</RootNamespace>
17
- </PropertyGroup>
18
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20
- <ConfigurationType>DynamicLibrary</ConfigurationType>
21
- <UseDebugLibraries>true</UseDebugLibraries>
22
- <CharacterSet>Unicode</CharacterSet>
23
- </PropertyGroup>
24
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
25
- <ConfigurationType>DynamicLibrary</ConfigurationType>
26
- <UseDebugLibraries>false</UseDebugLibraries>
27
- <WholeProgramOptimization>true</WholeProgramOptimization>
28
- <CharacterSet>Unicode</CharacterSet>
29
- </PropertyGroup>
30
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31
- <ImportGroup Label="ExtensionSettings">
32
- </ImportGroup>
33
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
34
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
35
- </ImportGroup>
36
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
37
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
- </ImportGroup>
39
- <PropertyGroup Label="UserMacros" />
40
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
41
- <LinkIncremental>true</LinkIncremental>
42
- <OutDir>..\..\..\lib\1.9</OutDir>
43
- <TargetExt>.so</TargetExt>
44
- <TargetName>ruby_prof</TargetName>
45
- </PropertyGroup>
46
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
47
- <LinkIncremental>false</LinkIncremental>
48
- </PropertyGroup>
49
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
50
- <ClCompile>
51
- <PrecompiledHeader>
52
- </PrecompiledHeader>
53
- <WarningLevel>Level3</WarningLevel>
54
- <Optimization>Disabled</Optimization>
55
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;RUBY_PROF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
56
- <AdditionalIncludeDirectories>C:\MinGW\local\ruby193vc\include\ruby-1.9.1;C:\MinGW\local\ruby193vc\include\ruby-1.9.1\i386-mswin32_100;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
57
- </ClCompile>
58
- <Link>
59
- <SubSystem>Windows</SubSystem>
60
- <GenerateDebugInformation>true</GenerateDebugInformation>
61
- <AdditionalLibraryDirectories>C:\MinGW\local\ruby193vc\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
62
- <AdditionalDependencies>msvcr100-ruby191.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
63
- <ModuleDefinitionFile>ruby_prof.def</ModuleDefinitionFile>
64
- </Link>
65
- </ItemDefinitionGroup>
66
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67
- <ClCompile>
68
- <WarningLevel>Level3</WarningLevel>
69
- <PrecompiledHeader>
70
- </PrecompiledHeader>
71
- <Optimization>MaxSpeed</Optimization>
72
- <FunctionLevelLinking>true</FunctionLevelLinking>
73
- <IntrinsicFunctions>true</IntrinsicFunctions>
74
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;RUBY_PROF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
75
- </ClCompile>
76
- <Link>
77
- <SubSystem>Windows</SubSystem>
78
- <GenerateDebugInformation>true</GenerateDebugInformation>
79
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
80
- <OptimizeReferences>true</OptimizeReferences>
81
- </Link>
82
- </ItemDefinitionGroup>
83
- <ItemGroup>
84
- <ClInclude Include="..\rp_call_info.h" />
85
- <ClInclude Include="..\rp_measure.h" />
86
- <ClInclude Include="..\rp_method.h" />
87
- <ClInclude Include="..\rp_stack.h" />
88
- <ClInclude Include="..\rp_thread.h" />
89
- <ClInclude Include="..\ruby_prof.h" />
90
- <ClInclude Include="..\version.h" />
91
- </ItemGroup>
92
- <ItemGroup>
93
- <ClCompile Include="..\rp_call_info.c" />
94
- <ClCompile Include="..\rp_measure.c" />
95
- <ClCompile Include="..\rp_measure_allocations.c" />
96
- <ClCompile Include="..\rp_measure_cpu_time.c" />
97
- <ClCompile Include="..\rp_measure_gc_runs.c" />
98
- <ClCompile Include="..\rp_measure_gc_time.c" />
99
- <ClCompile Include="..\rp_measure_memory.c" />
100
- <ClCompile Include="..\rp_measure_process_time.c" />
101
- <ClCompile Include="..\rp_measure_wall_time.c" />
102
- <ClCompile Include="..\rp_method.c" />
103
- <ClCompile Include="..\rp_stack.c" />
104
- <ClCompile Include="..\rp_thread.c" />
105
- <ClCompile Include="..\ruby_prof.c" />
106
- </ItemGroup>
107
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
108
- <ImportGroup Label="ExtensionTargets">
109
- </ImportGroup>
110
- </Project>