Lines Matching refs:child
1283 void addInclusiveTime(MethodEntry *parent, MethodEntry *child, in addInclusiveTime() argument
1290 if (strcmp(child->className, debugClassName) == 0) in addInclusiveTime()
1294 int childIsRecursive = (child->recursiveEntries > 0); in addInclusiveTime()
1297 if (child->recursiveEntries == 0) { in addInclusiveTime()
1298 child->elapsedInclusive += elapsedTime; in addInclusiveTime()
1299 } else if (child->recursiveEntries == 1) { in addInclusiveTime()
1300 child->recursiveInclusive += elapsedTime; in addInclusiveTime()
1302 child->numCalls[childIsRecursive] += 1; in addInclusiveTime()
1308 child->className, child->recursiveEntries, in addInclusiveTime()
1309 elapsedTime, child->elapsedInclusive, in addInclusiveTime()
1310 child->recursiveInclusive); in addInclusiveTime()
1317 if (pTimed->method == child) { in addInclusiveTime()
1328 pTimed->method = child; in addInclusiveTime()
1336 TimedMethod *parents = child->parents[childIsRecursive]; in addInclusiveTime()
1353 child->parents[childIsRecursive] = pTimed; in addInclusiveTime()
1615 int checkThreshold(MethodEntry* parent, MethodEntry* child) in checkThreshold() argument
1618 double childTime = child->elapsedInclusive; in checkThreshold()
1633 TimedMethod* child; in createLabels() local
1634 for (child = method->children[0] ; child ; child = child->next) { in createLabels()
1635 MethodEntry* childMethod = child->method; in createLabels()
1638 createLabels(file, child->method); in createLabels()
1647 TimedMethod* child; in createLinks() local
1648 for (child = method->children[0] ; child ; child = child->next) { in createLinks()
1649 MethodEntry* childMethod = child->method; in createLinks()
1650 if (checkThreshold(method, child->method)) { in createLinks()
1651 fprintf(file, "node%d -> node%d\n", method->index, child->method->index); in createLinks()
1654 createLinks(file, child->method); in createLinks()