Home | History | Annotate | Download | only in tools

Lines Matching refs:Function

31  * and calculating function execution times.
35 function Profile() {
43 * Returns whether a function with the specified name must be skipped.
46 * @param {string} name Function name.
48 Profile.prototype.skipThisFunction = function(name) {
79 * Called whenever the specified operation has failed finding a function
90 Profile.prototype.handleUnknownCode = function(
102 Profile.prototype.addLibrary = function(
118 Profile.prototype.addStaticCode = function(
135 Profile.prototype.addCode = function(
150 * @param {number} funcAddr Shared function object address.
153 Profile.prototype.addFuncCode = function(
162 // Function object has been overwritten with a new one.
177 Profile.prototype.moveCode = function(from, to) {
191 Profile.prototype.deleteCode = function(start) {
206 Profile.prototype.moveFunc = function(from, to) {
218 Profile.prototype.findEntry = function(addr) {
229 Profile.prototype.recordTick = function(stack) {
238 * Translates addresses into function names and filters unneeded
243 Profile.prototype.resolveAndFilterFuncs_ = function(stack) {
264 * @param {function(CallTree.Node)} f Visitor function.
266 Profile.prototype.traverseTopDownTree = function(f) {
274 * @param {function(CallTree.Node)} f Visitor function.
276 Profile.prototype.traverseBottomUpTree = function(f) {
287 Profile.prototype.getTopDownProfile = function(opt_label) {
298 Profile.prototype.getBottomUpProfile = function(opt_label) {
304 * Helper function for calculating a tree profile.
309 Profile.prototype.getTreeProfile_ = function(tree, opt_label) {
327 Profile.prototype.getFlatProfile = function(opt_label) {
336 function onEnter(node) {
355 function onExit(node) {
381 * @param {string} name Function name.
384 Profile.DynamicCodeEntry = function(size, type, name) {
393 Profile.DynamicCodeEntry.prototype.getName = function() {
401 Profile.DynamicCodeEntry.prototype.getRawName = function() {
406 Profile.DynamicCodeEntry.prototype.isJSFunction = function() {
416 * @param {Profile.FunctionEntry} func Shared function entry.
420 Profile.DynamicFuncCodeEntry = function(size, type, func, state) {
432 Profile.DynamicFuncCodeEntry.prototype.getName = function() {
441 Profile.DynamicFuncCodeEntry.prototype.getRawName = function() {
446 Profile.DynamicFuncCodeEntry.prototype.isJSFunction = function() {
452 * Creates a shared function object entry.
454 * @param {string} name Function name.
457 Profile.FunctionEntry = function(name) {
465 Profile.FunctionEntry.prototype.getName = function() {
470 // An anonymous function with location: " aaa.js:10".
482 function CallTree() {
503 CallTree.prototype.getRoot = function() {
513 CallTree.prototype.addPath = function(path) {
533 CallTree.prototype.findOrAddChild = function(label) {
554 CallTree.prototype.cloneSubtree = function(label) {
556 this.traverse(function(node, parent) {
571 CallTree.prototype.computeTotalWeights = function() {
581 * Traverses the call graph in preorder. This function can be used for
585 * callTree.traverse(function(node, parentClone) {
592 * @param {function(CallTree.Node, *)} f Visitor function.
595 CallTree.prototype.traverse = function(f) {
603 node.forEachChild(function (child) {
613 * @param {function(CallTree.Node)} enter A function called
615 * @param {function(CallTree.Node)} exit A function called
618 CallTree.prototype.traverseInDepth = function(enter, exit) {
619 function traverse(node) {
634 CallTree.Node = function(label, opt_parent) {
661 CallTree.Node.prototype.addChild = function(label) {
672 function() {
674 this.forEachChild(function(child) {
683 CallTree.Node.prototype.exportChildren = function() {
685 this.forEachChild(function (node) { result.push(node); });
695 CallTree.Node.prototype.findChild = function(label) {
706 CallTree.Node.prototype.findOrAddChild = function(label) {
712 * Calls the specified function for every child.
714 * @param {function(CallTree.Node)} f Visitor function.
716 CallTree.Node.prototype.forEachChild = function(f) {
726 * @param {function(CallTree.Node)} f Visitor function.
728 CallTree.Node.prototype.walkUpToRoot = function(f) {
739 * @param {function(CallTree.Node)} opt_f Visitor function.
741 CallTree.Node.prototype.descendToChild = function(