Commit f6fa0723 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1450 from Fleurer/cleanup-warninigs

clean up the warnings when GC_PROFILE is set
parents 53f750db b3b4f2db
......@@ -147,9 +147,9 @@ gettimeofday_time(void)
gc_time = gettimeofday_time() - gc_time;\
gc_total_time += gc_time;\
fprintf(stderr, "gc_state: %d\n", mrb->gc_state);\
fprintf(stderr, "live: %d\n", mrb->live);\
fprintf(stderr, "majorgc_old_threshold: %d\n", mrb->majorgc_old_threshold);\
fprintf(stderr, "gc_threshold: %d\n", mrb->gc_threshold);\
fprintf(stderr, "live: %zu\n", mrb->live);\
fprintf(stderr, "majorgc_old_threshold: %zu\n", mrb->majorgc_old_threshold);\
fprintf(stderr, "gc_threshold: %zu\n", mrb->gc_threshold);\
fprintf(stderr, "gc_time: %30.20f\n", gc_time);\
fprintf(stderr, "gc_total_time: %30.20f\n\n", gc_total_time);\
} while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment