method
stat
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
v1_9_3_125 -
Show latest stable
-
0 notes -
Class: GC
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (25)
- 2_4_6 (-3)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
stat(p1 = v1)
public
Returns a Hash containing information about the GC.
The hash includes information about internal statistics about GC such as:
{ :count => 18, :heap_used => 77, :heap_length => 77, :heap_increment => 0, :heap_live_num => 23287, :heap_free_num => 8115, :heap_final_num => 0, }
The contents of the hash are implementation defined and may be changed in the future.
This method is only expected to work on C Ruby.