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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e2224716adf83bacd915712295bff64908c6882
4
- data.tar.gz: 35b0457e38603a400919853ceb78c5e61f2b77b7
3
+ metadata.gz: a3ff34e3fbda68cd258aab74312406a45ade842d
4
+ data.tar.gz: bf0ff58193c4d0660af808a89ed00c0cc4ef9eb8
5
5
  SHA512:
6
- metadata.gz: 929d796e853d3d94daaa56e79883f89ddd77a976d7a937024cda3a1313b8e06059cfef1955330bc32a8b2b6ab97f11a0ed8fc9726c1b4bf918472b7c2246e99a
7
- data.tar.gz: 69e5f21a252131b256069fe5b1a90c56900e58cbc469610684b26a74d8214bc559faf58f42fcf0a2a2d274fa24b2904d16aac929c75b78f9a43f87617ff0d409
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 about
42
- `GC.stat()` and `GC.latest_gc_info()` at each events, there are one of:
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
@@ -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(\"ru_utime\"));"
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
  }
@@ -1,3 +1,3 @@
1
1
  module GcTracer
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gc_tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koichi Sasada