# File lib/sigdump.rb, line 110 def self.dump_gc_profiler_result(io) return unless defined?(GC::Profiler) && GC::Profiler.enabled? io.write " GC profiling result:\n" io.write " Total garbage collection time: %f\n" % GC::Profiler.total_time io.write GC::Profiler.result GC::Profiler.clear io.flush nil end