module ActiveProfiling
Constants
- VERSION
Public Class Methods
gc_statistics?()
click to toggle source
# File lib/active-profiling.rb, line 4 def gc_statistics? if defined?(@has_gc_statistics) @has_gc_statistics else @has_gc_statistics = defined?(GC::Profiler) || GC.respond_to?(:enable_stats) end end
ruby_prof?()
click to toggle source
# File lib/active-profiling.rb, line 12 def ruby_prof? if defined?(@has_ruby_prof) @has_ruby_prof else @has_ruby_prof = defined?(RubyProf) end end