(root, path, selfTicks, totalTicks)
| 185 | |
| 186 | |
| 187 | function assertNodeWeights(root, path, selfTicks, totalTicks) { |
| 188 | var node = root.descendToChild(path); |
| 189 | var stack = stackToString(path); |
| 190 | assertNotNull(node, 'node not found: ' + stack); |
| 191 | assertEquals(selfTicks, node.selfWeight, 'self of ' + stack); |
| 192 | assertEquals(totalTicks, node.totalWeight, 'total of ' + stack); |
| 193 | }; |
| 194 | |
| 195 | |
| 196 | (function testTopDownRootProfileTicks() { |
no test coverage detected
searching dependent graphs…