gc_tracer 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/ext/gc_tracer/extconf.rb +1 -1
- data/lib/gc_tracer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3ff34e3fbda68cd258aab74312406a45ade842d
|
4
|
+
data.tar.gz: bf0ff58193c4d0660af808a89ed00c0cc4ef9eb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca87e36fbb939d73804b08bee31a2285151965db77582b09e9cb8a53732ea559baf256b16597e542ae3397d71b5adef79e5c0686ed659a45e635f0312a6831d9
|
7
|
+
data.tar.gz: 1a5545157a71e64a273d4bc7ff988973bee132b572a61e5e56b844b09fe66e3cfbb04e9f6634543c77a79574ff22e3642046fbe5b04f7d4a3e488f4ad42de76d
|
data/README.md
CHANGED
@@ -38,8 +38,13 @@ GC::Tracer.start_logging(filename)
|
|
38
38
|
GC::Tracer.stop_logging
|
39
39
|
```
|
40
40
|
|
41
|
-
In the stored file (filename), you can get tab separated values
|
42
|
-
|
41
|
+
In the stored file (filename), you can get tab separated values of:
|
42
|
+
|
43
|
+
* `GC.stat()`
|
44
|
+
* `GC.latest_gc_info()`
|
45
|
+
* `getrusage()` (if supported by system)
|
46
|
+
|
47
|
+
at each events, there are one of:
|
43
48
|
|
44
49
|
* GC starting time
|
45
50
|
* End of marking time
|
data/ext/gc_tracer/extconf.rb
CHANGED
@@ -44,7 +44,7 @@ open("gc_tracer.h", 'w'){|f|
|
|
44
44
|
f.puts " sym_latest_gc_info[#{i}] = ID2SYM(rb_intern(\"#{k}\"));"
|
45
45
|
}
|
46
46
|
f.puts " sym_rusage_timeval[0] = ID2SYM(rb_intern(\"ru_utime\"));"
|
47
|
-
f.puts " sym_rusage_timeval[1] = ID2SYM(rb_intern(\"
|
47
|
+
f.puts " sym_rusage_timeval[1] = ID2SYM(rb_intern(\"ru_stime\"));"
|
48
48
|
rusage_members.each.with_index{|k, i|
|
49
49
|
f.puts " sym_rusage[#{i}] = ID2SYM(rb_intern(\"#{k}\"));"
|
50
50
|
}
|
data/lib/gc_tracer/version.rb
CHANGED