Lines Matching refs:function
32 function stackToString(stack) {
37 function assertPathExists(root, path, opt_message) {
39 assertNotNull(root.descendToChild(path, function(node, pos) {
47 function assertNoPathExists(root, path, opt_message) {
53 function countNodes(profile, traverseFunc) {
55 traverseFunc.call(profile, function () { count++; });
60 function ProfileTestDriver() {
74 ProfileTestDriver.prototype.addFunctions_ = function() {
87 ProfileTestDriver.prototype.enter = function(funcName) {
95 ProfileTestDriver.prototype.stay = function() {
100 ProfileTestDriver.prototype.leave = function() {
105 ProfileTestDriver.prototype.execute = function() {
136 function Inherits(childCtor, parentCtor) {
137 function tempCtor() {};
145 (function testCallTreeBuilding() {
146 function Driver() {
153 Driver.prototype.enter = function(func) {
167 Driver.prototype.stay = function() {
178 Driver.prototype.leave = function() {
189 function assertNodeWeights(root, path, selfTicks, totalTicks) {
198 (function testTopDownRootProfileTicks() {
225 (function testRootFlatProfileTicks() {
226 function Driver() {
234 Driver.prototype.increment = function(func, self, total) {
242 Driver.prototype.incrementTotals = function() {
243 // Only count each function in the stack once.
254 Driver.prototype.enter = function(func) {
261 Driver.prototype.stay = function() {
267 Driver.prototype.leave = function() {
272 Driver.prototype.extractRoot = function() {
304 (function testFunctionCalleesProfileTicks() {
323 (function testFunctionFlatProfileTicks() {