diff options
author | Koichi Sasada <ko1@atdot.net> | 2021-11-10 16:52:22 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2021-11-19 08:32:07 +0900 |
commit | c347038d4ea246d686fcd4ddc8761a91e4dd25ab (patch) | |
tree | f2644c2b94dbe93b4d76df90db1cd085485a9426 /include | |
parent | 349a1797828a1fa6acc3c0d30a2a24e884d02907 (diff) | |
download | ruby-c347038d4ea246d686fcd4ddc8761a91e4dd25ab.tar.gz |
GC measurement feature
* `GC.measure_total_time = true` enables total time measurement (default: true)
* `GC.measure_total_time` returns current flag.
* `GC.total_time` returns measured total time in nano seconds.
* `GC.stat(:time)` (and Hash) returns measured total time in milli seconds.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions