Lines Matching refs:CallTree
37 this.topDownTree_ = new CallTree();
38 this.bottomUpTree_ = new CallTree();
355 var counters = new CallTree();
356 var rootLabel = opt_label || CallTree.ROOT_NODE_LABEL;
565 function CallTree() { class
566 this.root_ = new CallTree.Node(
567 CallTree.ROOT_NODE_LABEL);
574 CallTree.ROOT_NODE_LABEL = '';
580 CallTree.prototype.totalsComputed_ = false;
586 CallTree.prototype.getRoot = function() {
596 CallTree.prototype.addPath = function(path) {
616 CallTree.prototype.findOrAddChild = function(label) {
637 CallTree.prototype.cloneSubtree = function(label) {
638 var subTree = new CallTree();
654 CallTree.prototype.computeTotalWeights = function() {
678 CallTree.prototype.traverse = function(f) {
701 CallTree.prototype.traverseInDepth = function(enter, exit) {
717 CallTree.Node = function(label, opt_parent) {
729 CallTree.Node.prototype.selfWeight = 0;
736 CallTree.Node.prototype.totalWeight = 0;
744 CallTree.Node.prototype.addChild = function(label) {
745 var child = new CallTree.Node(label, this);
754 CallTree.Node.prototype.computeTotalWeight =
766 CallTree.Node.prototype.exportChildren = function() {
778 CallTree.Node.prototype.findChild = function(label) {
789 CallTree.Node.prototype.findOrAddChild = function(label) {
799 CallTree.Node.prototype.forEachChild = function(f) {
811 CallTree.Node.prototype.walkUpToRoot = function(f) {
824 CallTree.Node.prototype.descendToChild = function(