aboutsummaryrefslogtreecommitdiffstats
path: root/regenc.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-11-10 16:52:22 +0900
committerKoichi Sasada <ko1@atdot.net>2021-11-19 08:32:07 +0900
commitc347038d4ea246d686fcd4ddc8761a91e4dd25ab (patch)
treef2644c2b94dbe93b4d76df90db1cd085485a9426 /regenc.c
parent349a1797828a1fa6acc3c0d30a2a24e884d02907 (diff)
downloadruby-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 'regenc.c')
0 files changed, 0 insertions, 0 deletions