class RubyProf::CallTree
def <=>(other)
Compares two CallTree instances. The comparison is based on the CallTree#parent, CallTree#target,
def <=>(other) if self.target == other.target && self.parent == other.parent 0 elsif self.total_time < other.total_time -1 elsif self.total_time > other.total_time 1 else self.target.full_name <=> other.target.full_name end end