# File lib/ruby-prof/test.rb, line 140 def measure_mode_name(measure_mode) case measure_mode when RubyProf::PROCESS_TIME; 'process_time' when RubyProf::WALL_TIME; 'wall_time' when RubyProf::MEMORY; 'memory' when RubyProf::ALLOCATIONS; 'allocations' else "measure#{measure_mode}" end end