Lines Matching refs:CallTree

37   this.topDownTree_ = new CallTree();
38 this.bottomUpTree_ = new CallTree();
272 * @param {function(CallTree.Node)} f Visitor function.
282 * @param {function(CallTree.Node)} f Visitor function.
314 * @param {Profile.CallTree} tree Call tree.
336 var counters = new CallTree();
337 var rootLabel = opt_label || CallTree.ROOT_NODE_LABEL;
526 function CallTree() {
527 this.root_ = new CallTree.Node(
528 CallTree.ROOT_NODE_LABEL);
535 CallTree.ROOT_NODE_LABEL = '';
541 CallTree.prototype.totalsComputed_ = false;
547 CallTree.prototype.getRoot = function() {
557 CallTree.prototype.addPath = function(path) {
577 CallTree.prototype.findOrAddChild = function(label) {
598 CallTree.prototype.cloneSubtree = function(label) {
599 var subTree = new CallTree();
615 CallTree.prototype.computeTotalWeights = function() {
636 * @param {function(CallTree.Node, *)} f Visitor function.
639 CallTree.prototype.traverse = function(f) {
657 * @param {function(CallTree.Node)} enter A function called
659 * @param {function(CallTree.Node)} exit A function called
662 CallTree.prototype.traverseInDepth = function(enter, exit) {
676 * @param {CallTree.Node} opt_parent Node parent.
678 CallTree.Node = function(label, opt_parent) {
690 CallTree.Node.prototype.selfWeight = 0;
697 CallTree.Node.prototype.totalWeight = 0;
705 CallTree.Node.prototype.addChild = function(label) {
706 var child = new CallTree.Node(label, this);
715 CallTree.Node.prototype.computeTotalWeight =
727 CallTree.Node.prototype.exportChildren = function() {
739 CallTree.Node.prototype.findChild = function(label) {
750 CallTree.Node.prototype.findOrAddChild = function(label) {
758 * @param {function(CallTree.Node)} f Visitor function.
760 CallTree.Node.prototype.forEachChild = function(f) {
770 * @param {function(CallTree.Node)} f Visitor function.
772 CallTree.Node.prototype.walkUpToRoot = function(f) {
783 * @param {function(CallTree.Node)} opt_f Visitor function.
785 CallTree.Node.prototype.descendToChild = function(