Home | History | Annotate | Download | only in tools

Lines Matching full:profile

29 // Files: tools/splaytree.js tools/codemap.js tools/consarray.js tools/profile.js
53 function countNodes(profile, traverseFunc) {
55 traverseFunc.call(profile, function () { count++; });
61 this.profile = new Profile();
75 this.profile.addLibrary('lib1', 0x11000, 0x12000);
76 this.profile.addStaticCode('lib1-f1', 0x11100, 0x11900);
77 this.profile.addStaticCode('lib1-f2', 0x11200, 0x11500);
78 this.profile.addLibrary('lib2', 0x21000, 0x22000);
79 this.profile.addStaticCode('lib2-f1', 0x21100, 0x21900);
80 this.profile.addStaticCode('lib2-f2', 0x21200, 0x21500);
81 this.profile.addCode('T', 'F1', 0x50100, 0x100);
82 this.profile.addCode('T', 'F2', 0x50200, 0x100);
83 this.profile.addCode('T', 'F3', 0x50400, 0x100);
91 this.profile.recordTick(this.stack_);
96 this.profile.recordTick(this.stack_);
156 assertNoPathExists(this.profile.getTopDownProfile().getRoot(), this.namesTopDown,
158 assertNoPathExists(this.profile.getBottomUpProfile().getRoot(), this.namesBottomUp,
161 assertPathExists(this.profile.getTopDownProfile().getRoot(), this.namesTopDown,
163 assertPathExists(this.profile.getBottomUpProfile().getRoot(), this.namesBottomUp,
168 var preTopDownNodes = countNodes(this.profile, this.profile.traverseTopDownTree);
169 var preBottomUpNodes = countNodes(this.profile, this.profile.traverseBottomUpTree);
171 var postTopDownNodes = countNodes(this.profile, this.profile.traverseTopDownTree);
172 var postBottomUpNodes = countNodes(this.profile, this.profile.traverseBottomUpTree);
217 var root = testDriver.profile.getTopDownProfile().getRoot();
287 var flatProfileRoot = testDriver.profile.getFlatProfile().getRoot();
314 var profile = testDriver.profile.getTopDownProfile('lib2-f1');
315 var root = profile.getRoot();
333 testDriver.profile.getFlatProfile('lib2-f1').findOrAddChild('lib2-f1');