On Thu, 5 Jul 2001, Mathieu Bouchard wrote:

> have a callback GC.finished(start_time,end_time) that you'd just define
> like this:
> 
> $gc_last_time=0
> $gc_total_time=0
> $gc_count=0
> 
> def GC.finished(start_time,end_time)
> 	$gc_last_time = end_time - start_time
> 	$gc_total_time += $gc_last_time
> 	$gc_count += 1
> end
> 
Good idea! And then access your GC stats GC.num_cells etc?!

/Robert

Ps. Tonight I'm going on vacation. All you rubyists take care in the
meantime. Lets make the coming autumn a great Ruby time!