Lines Matching full:child
1354 /* This routine adds the given time to the parent and child methods.
1355 * This is called when the child routine exits, after the child has
1357 * duration of the child routine, including time spent in called routines.
1359 void addInclusiveTime(MethodEntry *parent, MethodEntry *child,
1366 if (strcmp(child->className, debugClassName) == 0)
1370 int childIsRecursive = (child->recursiveEntries > 0);
1373 if (child->recursiveEntries == 0) {
1374 child->elapsedInclusive += elapsedTime;
1375 } else if (child->recursiveEntries == 1) {
1376 child->recursiveInclusive += elapsedTime;
1378 child->numCalls[childIsRecursive] += 1;
1384 child->className, child->recursiveEntries,
1385 elapsedTime, child->elapsedInclusive,
1386 child->recursiveInclusive);
1390 /* Find the child method in the parent */
1393 if (pTimed->method == child) {
1404 pTimed->method = child;
1411 /* Find the parent method in the child */
1412 TimedMethod *parents = child->parents[childIsRecursive];
1429 child->parents[childIsRecursive] = pTimed;
1692 /* check to make sure that the child
1693 int checkThreshold(MethodEntry* parent, MethodEntry* child)
1696 double childTime = child->elapsedInclusive;
1711 TimedMethod* child;
1712 for (child = method->children[0] ; child ; child = child->next) {
1713 MethodEntry* childMethod = child->method;
1716 createLabels(file, child->method);
1725 TimedMethod* child;
1726 for (child = method->children[0] ; child ; child = child->next) {
1727 MethodEntry* childMethod = child->method;
1728 if (checkThreshold(method, child->method)) {
1729 fprintf(file, "node%d -> node%d\n", method->index, child->method->index);
1732 createLinks(file, child->method);