Class RubyProf::CallInfo
In: lib/ruby-prof/call_info.rb
Parent: Object

Methods

Attributes

recursive  [RW] 

Public Instance methods

eliminate call info from the call tree. adds self and wait time to parent and attaches called methods to parent. merges call trees for methods called from both praent end self.

find a sepcific call in list of children. returns nil if not found. note: there can‘t be more than one child with a given target method. in other words: x.children.grep{|y|y.target==m}.size <= 1 for all method infos m and call infos x

merge two call trees. adds self, wait, and total time of other to self and merges children of other into children of self.

[Validate]