class RubyProf::Profile

def measure_mode_name

def measure_mode_name
  case self.measure_mode
    when WALL_TIME
      "Wall Time"
    when PROCESS_TIME
      "Process Time"
    when ALLOCATIONS
      "Allocations"
    when MEMORY
      "Memory"
  end
end