Lines Matching refs:Profile

35 function Profile() {
48 Profile.prototype.skipThisFunction = function(name) {
59 Profile.Operation = {
71 Profile.CodeState = {
81 * See the Profile.Operation enum for the list of
90 Profile.prototype.handleUnknownCode = function(
102 Profile.prototype.addLibrary = function(
118 Profile.prototype.addStaticCode = function(
135 Profile.prototype.addCode = function(
137 var entry = new Profile.DynamicCodeEntry(size, type, name);
151 * @param {Profile.CodeState} state Optimization state.
153 Profile.prototype.addFuncCode = function(
159 func = new Profile.FunctionEntry(name);
172 entry = new Profile.DynamicFuncCodeEntry(size, type, func, state);
185 Profile.prototype.moveCode = function(from, to) {
189 this.handleUnknownCode(Profile.Operation.MOVE, from);
199 Profile.prototype.deleteCode = function(start) {
203 this.handleUnknownCode(Profile.Operation.DELETE, start);
214 Profile.prototype.moveFunc = function(from, to) {
226 Profile.prototype.findEntry = function(addr) {
237 Profile.prototype.recordTick = function(stack) {
251 Profile.prototype.resolveAndFilterFuncs_ = function(stack) {
262 Profile.Operation.TICK, stack[i], i);
274 Profile.prototype.traverseTopDownTree = function(f) {
284 Profile.prototype.traverseBottomUpTree = function(f) {
295 Profile.prototype.getTopDownProfile = function(opt_label) {
306 Profile.prototype.getBottomUpProfile = function(opt_label) {
314 * @param {Profile.CallTree} tree Call tree.
317 Profile.prototype.getTreeProfile_ = function(tree, opt_label) {
335 Profile.prototype.getFlatProfile = function(opt_label) {
387 Profile.prototype.cleanUpFuncEntries = function() {
391 if (entries[i][1].constructor === Profile.FunctionEntry) {
401 if (entries[i][1].constructor === Profile.FunctionEntry &&
417 Profile.DynamicCodeEntry = function(size, type, name) {
426 Profile.DynamicCodeEntry.prototype.getName = function() {
434 Profile.DynamicCodeEntry.prototype.getRawName = function() {
439 Profile.DynamicCodeEntry.prototype.isJSFunction = function() {
444 Profile.DynamicCodeEntry.prototype.toString = function() {
454 * @param {Profile.FunctionEntry} func Shared function entry.
455 * @param {Profile.CodeState} state Code optimization state.
458 Profile.DynamicFuncCodeEntry = function(size, type, func, state) {
465 Profile.DynamicFuncCodeEntry.STATE_PREFIX = ["", "~", "*"];
470 Profile.DynamicFuncCodeEntry.prototype.getName = function() {
472 return this.type + ': ' + Profile.DynamicFuncCodeEntry.STATE_PREFIX[this.state] + name;
479 Profile.DynamicFuncCodeEntry.prototype.getRawName = function() {
484 Profile.DynamicFuncCodeEntry.prototype.isJSFunction = function() {
489 Profile.DynamicFuncCodeEntry.prototype.toString = function() {
500 Profile.FunctionEntry = function(name) {
508 Profile.FunctionEntry.prototype.getName = function() {
519 Profile.FunctionEntry.prototype.toString = CodeMap.CodeEntry.prototype.toString;