Lines Matching refs:child
1138 void addInclusiveTime(MethodEntry* parent, MethodEntry* child, uint64_t elapsedTime) { in addInclusiveTime() argument
1141 if (strcmp(child->className, debugClassName) == 0) in addInclusiveTime()
1145 int32_t childIsRecursive = (child->recursiveEntries > 0); in addInclusiveTime()
1148 if (child->recursiveEntries == 0) { in addInclusiveTime()
1149 child->elapsedInclusive += elapsedTime; in addInclusiveTime()
1150 } else if (child->recursiveEntries == 1) { in addInclusiveTime()
1151 child->recursiveInclusive += elapsedTime; in addInclusiveTime()
1153 child->numCalls[childIsRecursive] += 1; in addInclusiveTime()
1159 child->className, child->recursiveEntries, in addInclusiveTime()
1160 elapsedTime, child->elapsedInclusive, in addInclusiveTime()
1161 child->recursiveInclusive); in addInclusiveTime()
1169 if (pTimed->method == child) { in addInclusiveTime()
1180 pTimed->method = child; in addInclusiveTime()
1188 TimedMethod* parents = child->parents[childIsRecursive]; in addInclusiveTime()
1205 child->parents[childIsRecursive] = pTimed; in addInclusiveTime()
1418 int32_t checkThreshold(MethodEntry* parent, MethodEntry* child) { in checkThreshold() argument
1420 double childTime = child->elapsedInclusive; in checkThreshold()
1434 for (TimedMethod* child = method->children[0]; child; child = child->next) { in createLabels() local
1435 MethodEntry* childMethod = child->method; in createLabels()
1439 createLabels(file, child->method); in createLabels()
1447 for (TimedMethod* child = method->children[0]; child; child = child->next) { in createLinks() local
1448 MethodEntry* childMethod = child->method; in createLinks()
1449 if (checkThreshold(method, child->method)) { in createLinks()
1450 fprintf(file, "node%d -> node%d\n", method->index, child->method->index); in createLinks()
1453 createLinks(file, child->method); in createLinks()