Rename rb_gc_impl_get_profile_total_time to rb_gc_impl_get_total_time

This commit is contained in:
Peter Zhu 2024-09-17 11:41:01 -04:00
parent 2af080bd30
commit dc61c7fc7d
Notes: git 2024-09-17 19:23:00 +00:00
4 changed files with 6 additions and 6 deletions

2
gc.rb
View file

@ -352,7 +352,7 @@ module GC
# Return measured \GC total time in nano seconds.
def self.total_time
Primitive.cexpr! %{
ULL2NUM(rb_gc_impl_get_profile_total_time(rb_gc_get_objspace()))
ULL2NUM(rb_gc_impl_get_total_time(rb_gc_get_objspace()))
}
end
end