summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-13 16:34:25 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-13 16:34:25 +0000
commit7d0a90e9b494dd0897e4a5a3b5d219b9c9c891e8 (patch)
tree98a2c0d0e4dfeff39b07b241658ca8142958501c /rational.c
parente23941ff35277f3043f4de355ea2b10a8d1c6fe5 (diff)
* gc.c: refactoring GC::Profiler.
* gc.c (gc_prof_sweep_timer_start/stop): removed because they doesn't support lazy sweep. * gc.c (gc_prof_sweep_slot_timer_start/stop): added. redefine `sweeping time' to accumulated time of all of slot_sweep(). * gc.c (rb_objspace_t::profile::count): renamed to rb_objspace_t::profile::next_index. `counter' seems ambiguous. increment it when next record is acquired. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions