ruby-prof 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/CHANGES +10 -1
  2. data/README +15 -24
  3. data/ext/version.h +2 -2
  4. metadata +1 -3
  5. data/ext/Makefile +0 -180
  6. data/ext/mkmf.log +0 -264
data/CHANGES CHANGED
@@ -1,8 +1,17 @@
1
+ 0.7.6 (2009-12-31)
2
+ ======================
3
+ * fix some tests for 1.9 (no real code changes)
4
+
5
+ 0.7.5 (2009-12)
6
+ ========================
7
+ * fix a GC collection bug (nobu's patch).
8
+ * correctly report recursive call depths (Kevin Scaldeferri).
9
+ * sort methods on output (Kevin Scaldeferri).
10
+
1
11
  0.7.3 (2008-12-09)
2
12
  ========================
3
13
  * Fixed compile error with new x86_64 code using GCC.
4
14
 
5
-
6
15
  0.7.2 (2008-12-08)
7
16
  ========================
8
17
  * Fixed major bug in printing child methods in graph reports.
data/README CHANGED
@@ -41,15 +41,12 @@ If you on windows mswin [not mingw] (check via ruby -v)
41
41
  please install v0.7.3 which has a prebuilt binary
42
42
  C:> gem install ruby-prof -v0.7.3
43
43
 
44
- If you're on mingw, please install the devkit first.
45
-
46
- ruby-prof is also available as a tarred gzip archive and zip archive.
44
+ If you're on mingw, please install the devkit first, then install the latest version (gem install ruby-prof).
47
45
 
48
46
  == Usage
49
47
 
50
48
  There are three ways of running ruby-prof.
51
49
 
52
-
53
50
  === ruby-prof executable
54
51
 
55
52
  The first is to use ruby-prof to run the Ruby program
@@ -259,16 +256,18 @@ Reports are created by printers. Supported printers include:
259
256
 
260
257
  To use a printer:
261
258
 
259
+ ...
262
260
  result = RubyProf.end
263
261
  printer = RubyProf::GraphPrinter.new(result)
264
- printer.print(STDOUT, 0)
262
+ printer.print(STDOUT, :min_percent => 2)
265
263
 
266
264
  The first parameter is any writable IO object such as STDOUT or a file.
267
- The second parameter, which has a default value of 0, specifies
268
- the minimum percentage a method must take to be printed. Percentages
269
- should be specified as integers in the range 0 to 100. For more
270
- information please see the documentation for the different printers.
265
+ The second parameter, specifies the minimum percentage a method must take
266
+ to be printed. Percentages should be specified as integers in the range 0 to 100.
267
+ For more information please see the documentation for the different printers.
271
268
 
269
+ The other option is :print_file => true (default false), which adds the filename to the
270
+ output (GraphPrinter only).
272
271
 
273
272
  == Measurements
274
273
 
@@ -283,7 +282,6 @@ aspects of a Ruby program. Supported measurements include:
283
282
  * garbage collections runs (RubyProf::GC_RUNS)
284
283
  * garbage collection time (RubyProf::GC_TIME)
285
284
 
286
-
287
285
  Process time measures the time used by a process between any two moments.
288
286
  It is unaffected by other processes concurrently running
289
287
  on the system. Note that Windows does not support measuring process
@@ -296,7 +294,7 @@ then the reported results will be too large.
296
294
 
297
295
  CPU time uses the CPU clock counter to measure time. The returned
298
296
  values are dependent on the correctly setting the CPU's frequency.
299
- This mode is only supported on Pentium or PowerPC platforms.
297
+ This mode is only supported on Pentium or PowerPC platforms (linux only).
300
298
 
301
299
  Object allocation reports show how many objects each method in
302
300
  a program allocates. This support was added by Sylvain Joyeux
@@ -404,20 +402,21 @@ However, the self time values for recursive calls should always
404
402
  be accurate. It is also believed that the total times are
405
403
  accurate, but these should be carefully analyzed to verify their veracity.
406
404
 
407
-
408
405
  == Multi-threaded Applications
409
406
 
410
407
  Unfortunately, Ruby does not provide an internal api
411
- for detecting thread context switches. As a result, the
408
+ for detecting thread context switches in 1.8. As a result, the
412
409
  timings ruby-prof reports for each thread may be slightly
413
410
  inaccurate. In particular, this will happen for newly
414
- spanned threads that immediately go to sleep. For instance,
415
- if you use Ruby's timeout library to wait for 2 seconds,
411
+ spawned threads that go to sleep immediately (their first call).
412
+ For instance, if you use Ruby's timeout library to wait for 2 seconds,
416
413
  the 2 seconds will be assigned to the foreground thread
417
414
  and not the newly created background thread. These errors
418
415
  can largely be avoided if the background thread performs an
419
- operation before going to sleeep.
416
+ operation before going to sleep.
420
417
 
418
+ Currently threaded measurements are broken on 1.9, viz:
419
+ http://www.ruby-forum.com/topic/201329
421
420
 
422
421
  == Performance
423
422
 
@@ -428,14 +427,6 @@ profiled. Most programs will run approximately twice as slow
428
427
  while highly recursive programs (like the fibonacci series test)
429
428
  will run three times slower.
430
429
 
431
-
432
- == Windows Binary
433
-
434
- The Windows binary is built with the latest version of MinGW. The source
435
- repository also includes a Microsoft VC++ 2005 solution. If you wish to run
436
- a debug version of ruby-prof on Windows, then it is highly recommended
437
- you use VC++.
438
-
439
430
  == License
440
431
 
441
432
  See LICENSE for license information.
@@ -1,4 +1,4 @@
1
- #define RUBY_PROF_VERSION "0.7.5"
1
+ #define RUBY_PROF_VERSION "0.7.6"
2
2
  #define RUBY_PROF_VERSION_MAJ 0
3
3
  #define RUBY_PROF_VERSION_MIN 7
4
- #define RUBY_PROF_VERSION_MIC 5
4
+ #define RUBY_PROF_VERSION_MIC 6
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda and Charlie Savage
@@ -38,7 +38,6 @@ files:
38
38
  - examples/graph.html
39
39
  - examples/graph.txt
40
40
  - ext/extconf.rb
41
- - ext/Makefile
42
41
  - ext/measure_allocations.h
43
42
  - ext/measure_cpu_time.h
44
43
  - ext/measure_gc_runs.h
@@ -46,7 +45,6 @@ files:
46
45
  - ext/measure_memory.h
47
46
  - ext/measure_process_time.h
48
47
  - ext/measure_wall_time.h
49
- - ext/mkmf.log
50
48
  - ext/ruby186gc.patch
51
49
  - ext/ruby_prof.c
52
50
  - ext/ruby_prof.h
@@ -1,180 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = .
7
- topdir = /E/installs/ruby191p376/include/ruby-1.9.1
8
- hdrdir = /E/installs/ruby191p376/include/ruby-1.9.1
9
- arch_hdrdir = E:/installs/ruby191p376/include/ruby-1.9.1/$(arch)
10
- VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
11
-
12
- DESTDIR = E:
13
- prefix = $(DESTDIR)/installs/ruby191p376
14
- exec_prefix = $(prefix)
15
- vendorhdrdir = $(rubyhdrdir)/vendor_ruby
16
- sitehdrdir = $(rubyhdrdir)/site_ruby
17
- rubyhdrdir = $(includedir)/$(RUBY_INSTALL_NAME)-$(ruby_version)
18
- vendordir = $(libdir)/$(RUBY_INSTALL_NAME)/vendor_ruby
19
- sitedir = $(libdir)/$(RUBY_INSTALL_NAME)/site_ruby
20
- mandir = $(datarootdir)/man
21
- localedir = $(datarootdir)/locale
22
- libdir = $(exec_prefix)/lib
23
- psdir = $(docdir)
24
- pdfdir = $(docdir)
25
- dvidir = $(docdir)
26
- htmldir = $(docdir)
27
- infodir = $(datarootdir)/info
28
- docdir = $(datarootdir)/doc/$(PACKAGE)
29
- oldincludedir = $(DESTDIR)/usr/include
30
- includedir = $(prefix)/include
31
- localstatedir = $(prefix)/var
32
- sharedstatedir = $(prefix)/com
33
- sysconfdir = $(prefix)/etc
34
- datadir = $(datarootdir)
35
- datarootdir = $(prefix)/share
36
- libexecdir = $(exec_prefix)/libexec
37
- sbindir = $(exec_prefix)/sbin
38
- bindir = $(exec_prefix)/bin
39
- rubylibdir = $(libdir)/$(ruby_install_name)/$(ruby_version)
40
- archdir = $(rubylibdir)/$(arch)
41
- sitelibdir = $(sitedir)/$(ruby_version)
42
- sitearchdir = $(sitelibdir)/$(sitearch)
43
- vendorlibdir = $(vendordir)/$(ruby_version)
44
- vendorarchdir = $(vendorlibdir)/$(sitearch)
45
-
46
- CC = gcc
47
- CXX = g++
48
- LIBRUBY = lib$(RUBY_SO_NAME).dll.a
49
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
50
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
51
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
52
- OUTFLAG = -o
53
- COUTFLAG = -o
54
-
55
- RUBY_EXTCONF_H =
56
- cflags = $(optflags) $(debugflags) $(warnflags)
57
- optflags = -O2
58
- debugflags = -g
59
- warnflags = -Wall -Wno-parentheses
60
- CFLAGS = $(cflags)
61
- INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
62
- DEFS =
63
- CPPFLAGS = -DRUBY_VM $(DEFS) $(cppflags)
64
- CXXFLAGS = $(CFLAGS) $(cxxflags)
65
- ldflags = -L.
66
- dldflags = -Wl,--enable-auto-image-base,--enable-auto-import
67
- archflag =
68
- DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
69
- LDSHARED = gcc -shared $(if $(filter-out -g -g0,$(debugflags)),,-s)
70
- LDSHAREDXX = g++ -shared $(if $(filter-out -g -g0,$(debugflags)),,-s)
71
- AR = ar
72
- EXEEXT = .exe
73
-
74
- RUBY_INSTALL_NAME = ruby
75
- RUBY_SO_NAME = msvcrt-ruby191
76
- arch = i386-mingw32
77
- sitearch = i386-msvcrt
78
- ruby_version = 1.9.1
79
- ruby = E:/installs/ruby191p376/bin/ruby
80
- RUBY = $(ruby)
81
- RM = rm -f
82
- RM_RF = $(RUBY) -run -e rm -- -rf
83
- RMDIRS = $(RUBY) -run -e rmdir -- -p
84
- MAKEDIRS = install -d
85
- INSTALL = /bin/install -c
86
- INSTALL_PROG = $(INSTALL) -m 0755
87
- INSTALL_DATA = $(INSTALL) -m 644
88
- COPY = cp
89
-
90
- #### End of system configuration section. ####
91
-
92
- preload =
93
-
94
- libpath = . $(libdir)
95
- LIBPATH = -L. -L$(libdir)
96
- DEFFILE =
97
-
98
- CLEANFILES = mkmf.log
99
- DISTCLEANFILES =
100
- DISTCLEANDIRS =
101
-
102
- extout =
103
- extout_prefix =
104
- target_prefix =
105
- LOCAL_LIBS =
106
- LIBS = $(LIBRUBYARG_SHARED) -lshell32 -lws2_32
107
- SRCS = ruby_prof.c
108
- OBJS = ruby_prof.o
109
- TARGET = ruby_prof
110
- DLLIB = $(TARGET).so
111
- EXTSTATIC =
112
- STATIC_LIB =
113
-
114
- BINDIR = $(bindir)
115
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
116
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
117
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
118
- HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
119
- ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
120
-
121
- TARGET_SO = $(DLLIB)
122
- CLEANLIBS = $(TARGET).so
123
- CLEANOBJS = *.o *.bak
124
-
125
- all: $(DLLIB)
126
- static: $(STATIC_LIB)
127
-
128
- clean-rb-default::
129
- clean-rb::
130
- clean-so::
131
- clean: clean-so clean-rb-default clean-rb
132
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
133
-
134
- distclean-rb-default::
135
- distclean-rb::
136
- distclean-so::
137
- distclean: clean distclean-so distclean-rb-default distclean-rb
138
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
139
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
140
- @-$(RMDIRS) $(DISTCLEANDIRS)
141
-
142
- realclean: distclean
143
- install: install-so install-rb
144
-
145
- install-so: $(RUBYARCHDIR)
146
- install-so: $(RUBYARCHDIR)/$(DLLIB)
147
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
148
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
149
- install-rb: pre-install-rb install-rb-default
150
- install-rb-default: pre-install-rb-default
151
- pre-install-rb: Makefile
152
- pre-install-rb-default: Makefile
153
- $(RUBYARCHDIR):
154
- $(MAKEDIRS) $@
155
-
156
- site-install: site-install-so site-install-rb
157
- site-install-so: install-so
158
- site-install-rb: install-rb
159
-
160
- .SUFFIXES: .c .m .cc .cxx .cpp .o
161
-
162
- .cc.o:
163
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
164
-
165
- .cxx.o:
166
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
167
-
168
- .cpp.o:
169
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
170
-
171
- .c.o:
172
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
173
-
174
- $(DLLIB): $(OBJS) Makefile
175
- @-$(RM) $(@)
176
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
177
-
178
-
179
-
180
- $(OBJS): $(hdrdir)/ruby.h $(hdrdir)/ruby/defines.h $(arch_hdrdir)/ruby/config.h
@@ -1,264 +0,0 @@
1
- have_header: checking for sys/times.h... -------------------- no
2
-
3
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
4
- checked program was:
5
- /* begin */
6
- 1: #include "ruby.h"
7
- 2:
8
- 3: #include <winsock2.h>
9
- 4: #include <windows.h>
10
- 5: int main() {return 0;}
11
- /* end */
12
-
13
- "gcc -E -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -o conftest.i"
14
- checked program was:
15
- /* begin */
16
- 1: #include "ruby.h"
17
- 2:
18
- 3: #include <winsock2.h>
19
- 4: #include <windows.h>
20
- 5: #include <sys/times.h>
21
- /* end */
22
-
23
- --------------------
24
-
25
- have_func: checking for rb_os_allocated_objects()... -------------------- no
26
-
27
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
28
- checked program was:
29
- /* begin */
30
- 1: #include "ruby.h"
31
- 2:
32
- 3: #include <winsock2.h>
33
- 4: #include <windows.h>
34
- 5:
35
- 6: /*top*/
36
- 7: int main() {return 0;}
37
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_os_allocated_objects; return 0; }
38
- /* end */
39
-
40
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
41
- checked program was:
42
- /* begin */
43
- 1: #include "ruby.h"
44
- 2:
45
- 3: #include <winsock2.h>
46
- 4: #include <windows.h>
47
- 5:
48
- 6: /*top*/
49
- 7: int main() {return 0;}
50
- 8: int t() { rb_os_allocated_objects(); return 0; }
51
- /* end */
52
-
53
- --------------------
54
-
55
- have_func: checking for rb_gc_allocated_size()... -------------------- no
56
-
57
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
58
- checked program was:
59
- /* begin */
60
- 1: #include "ruby.h"
61
- 2:
62
- 3: #include <winsock2.h>
63
- 4: #include <windows.h>
64
- 5:
65
- 6: /*top*/
66
- 7: int main() {return 0;}
67
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_gc_allocated_size; return 0; }
68
- /* end */
69
-
70
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
71
- checked program was:
72
- /* begin */
73
- 1: #include "ruby.h"
74
- 2:
75
- 3: #include <winsock2.h>
76
- 4: #include <windows.h>
77
- 5:
78
- 6: /*top*/
79
- 7: int main() {return 0;}
80
- 8: int t() { rb_gc_allocated_size(); return 0; }
81
- /* end */
82
-
83
- --------------------
84
-
85
- have_func: checking for rb_gc_collections()... -------------------- no
86
-
87
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
88
- checked program was:
89
- /* begin */
90
- 1: #include "ruby.h"
91
- 2:
92
- 3: #include <winsock2.h>
93
- 4: #include <windows.h>
94
- 5:
95
- 6: /*top*/
96
- 7: int main() {return 0;}
97
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_gc_collections; return 0; }
98
- /* end */
99
-
100
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
101
- checked program was:
102
- /* begin */
103
- 1: #include "ruby.h"
104
- 2:
105
- 3: #include <winsock2.h>
106
- 4: #include <windows.h>
107
- 5:
108
- 6: /*top*/
109
- 7: int main() {return 0;}
110
- 8: int t() { rb_gc_collections(); return 0; }
111
- /* end */
112
-
113
- --------------------
114
-
115
- have_func: checking for rb_gc_time()... -------------------- no
116
-
117
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
118
- checked program was:
119
- /* begin */
120
- 1: #include "ruby.h"
121
- 2:
122
- 3: #include <winsock2.h>
123
- 4: #include <windows.h>
124
- 5:
125
- 6: /*top*/
126
- 7: int main() {return 0;}
127
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_gc_time; return 0; }
128
- /* end */
129
-
130
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
131
- checked program was:
132
- /* begin */
133
- 1: #include "ruby.h"
134
- 2:
135
- 3: #include <winsock2.h>
136
- 4: #include <windows.h>
137
- 5:
138
- 6: /*top*/
139
- 7: int main() {return 0;}
140
- 8: int t() { rb_gc_time(); return 0; }
141
- /* end */
142
-
143
- --------------------
144
-
145
- have_func: checking for rb_heap_total_mem()... -------------------- no
146
-
147
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
148
- checked program was:
149
- /* begin */
150
- 1: #include "ruby.h"
151
- 2:
152
- 3: #include <winsock2.h>
153
- 4: #include <windows.h>
154
- 5:
155
- 6: /*top*/
156
- 7: int main() {return 0;}
157
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_heap_total_mem; return 0; }
158
- /* end */
159
-
160
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
161
- checked program was:
162
- /* begin */
163
- 1: #include "ruby.h"
164
- 2:
165
- 3: #include <winsock2.h>
166
- 4: #include <windows.h>
167
- 5:
168
- 6: /*top*/
169
- 7: int main() {return 0;}
170
- 8: int t() { rb_heap_total_mem(); return 0; }
171
- /* end */
172
-
173
- --------------------
174
-
175
- have_func: checking for rb_gc_heap_info()... -------------------- no
176
-
177
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
178
- checked program was:
179
- /* begin */
180
- 1: #include "ruby.h"
181
- 2:
182
- 3: #include <winsock2.h>
183
- 4: #include <windows.h>
184
- 5:
185
- 6: /*top*/
186
- 7: int main() {return 0;}
187
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_gc_heap_info; return 0; }
188
- /* end */
189
-
190
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
191
- checked program was:
192
- /* begin */
193
- 1: #include "ruby.h"
194
- 2:
195
- 3: #include <winsock2.h>
196
- 4: #include <windows.h>
197
- 5:
198
- 6: /*top*/
199
- 7: int main() {return 0;}
200
- 8: int t() { rb_gc_heap_info(); return 0; }
201
- /* end */
202
-
203
- --------------------
204
-
205
- have_func: checking for rb_gc_malloc_allocations()... -------------------- no
206
-
207
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
208
- checked program was:
209
- /* begin */
210
- 1: #include "ruby.h"
211
- 2:
212
- 3: #include <winsock2.h>
213
- 4: #include <windows.h>
214
- 5:
215
- 6: /*top*/
216
- 7: int main() {return 0;}
217
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_gc_malloc_allocations; return 0; }
218
- /* end */
219
-
220
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
221
- checked program was:
222
- /* begin */
223
- 1: #include "ruby.h"
224
- 2:
225
- 3: #include <winsock2.h>
226
- 4: #include <windows.h>
227
- 5:
228
- 6: /*top*/
229
- 7: int main() {return 0;}
230
- 8: int t() { rb_gc_malloc_allocations(); return 0; }
231
- /* end */
232
-
233
- --------------------
234
-
235
- have_func: checking for rb_gc_malloc_allocated_size()... -------------------- no
236
-
237
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
238
- checked program was:
239
- /* begin */
240
- 1: #include "ruby.h"
241
- 2:
242
- 3: #include <winsock2.h>
243
- 4: #include <windows.h>
244
- 5:
245
- 6: /*top*/
246
- 7: int main() {return 0;}
247
- 8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_gc_malloc_allocated_size; return 0; }
248
- /* end */
249
-
250
- "gcc -o conftest -IE:/installs/ruby191p376/include/ruby-1.9.1/i386-mingw32 -IE:/installs/ruby191p376/include/ruby-1.9.1/ruby/backward -IE:/installs/ruby191p376/include/ruby-1.9.1 -I. -O2 -g -Wall -Wno-parentheses conftest.c -L. -LE:/installs/ruby191p376/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
251
- checked program was:
252
- /* begin */
253
- 1: #include "ruby.h"
254
- 2:
255
- 3: #include <winsock2.h>
256
- 4: #include <windows.h>
257
- 5:
258
- 6: /*top*/
259
- 7: int main() {return 0;}
260
- 8: int t() { rb_gc_malloc_allocated_size(); return 0; }
261
- /* end */
262
-
263
- --------------------
264
-