diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-23 07:58:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-23 07:58:06 +0000 |
commit | 95170c704cdb84c318399e47c2867e3ce6034ba3 (patch) | |
tree | 957a345ff02dc6d4fcf13b6108585a4642982944 /gc.c | |
parent | 09c348239927dd6a09cfc747b746fa1087b0ba1c (diff) | |
download | ruby-95170c704cdb84c318399e47c2867e3ce6034ba3.tar.gz |
* gc.c: do not dump the last record
* gc.c (gc_profile_dump_on): do not dump the last record, for some
reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5002,6 +5002,7 @@ gc_profile_dump_on(VALUE out, VALUE (*append)(VALUE, VALUE)) size_t i; const gc_profile_record *record; + --count; /* do not dump the last record */ append(out, rb_sprintf("GC %"PRIuSIZE" invokes.\n", objspace->count)); append(out, rb_str_new_cstr("Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)\n")); |