class RubyProf::GraphHtmlPrinter
def create_link(thread, overall_time, method)
specified by the user, since they will not be
links to methods which are under the min_percent
Creates a link to a method. Note that we do not create
def create_link(thread, overall_time, method) total_percent = (method.total_time/overall_time) * 100 if total_percent < min_percent # Just return name h method.full_name else href = '#' + method_href(thread, method) "<a href=\"#{href}\">#{h method.full_name}</a>" end end