Change rb_gc_impl_get_profile_total_time to return unsigned long long

This commit is contained in:
Peter Zhu 2024-09-17 11:39:43 -04:00
parent 5de7517bcb
commit 2af080bd30
Notes: git 2024-09-17 19:23:00 +00:00
4 changed files with 5 additions and 5 deletions

2
gc.c
View file

@ -636,7 +636,7 @@ typedef struct gc_function_map {
// Statistics
VALUE (*set_measure_total_time)(void *objspace_ptr, VALUE flag);
VALUE (*get_measure_total_time)(void *objspace_ptr);
VALUE (*get_profile_total_time)(void *objspace_ptr);
unsigned long long (*get_profile_total_time)(void *objspace_ptr);
size_t (*gc_count)(void *objspace_ptr);
VALUE (*latest_gc_info)(void *objspace_ptr, VALUE key);
size_t (*stat)(void *objspace_ptr, VALUE hash_or_sym);