class RubyProf::DotPrinter
def mode_name
RubyProf.measure_mode so that we can display it. Otherwise it's easy to
Something of a hack, figure out which constant went with the
def mode_name RubyProf.constants.find{|c| RubyProf.const_get(c) == RubyProf.measure_mode} end