Home | History | Annotate | Download | only in gprof

Lines Matching full:cyc

117 print_cycle (Sym *cyc)
121 sprintf (buf, "[%d]", cyc->cg.index);
125 100 * (cyc->cg.prop.self + cyc->cg.prop.child) / print_time,
126 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls);
128 if (cyc->cg.self_calls != 0)
129 printf ("+%-7lu", cyc->cg.self_calls);
133 printf (_(" <cycle %d as a whole> [%d]\n"), cyc->cg.cyc.num, cyc->cg.index);
165 sort_members (Sym *cyc)
171 todo = cyc->cg.cyc.next;
172 cyc->cg.cyc.next = 0;
176 todo = doing->cg.cyc.next;
178 for (prev = cyc; prev->cg.cyc.next; prev = prev->cg.cyc.next)
180 if (cmp_member (doing, prev->cg.cyc.next) == GREATERTHAN)
184 doing->cg.cyc.next = prev->cg.cyc.next;
185 prev->cg.cyc.next = doing;
192 print_members (Sym *cyc)
196 sort_members (cyc);
198 for (member = cyc->cg.cyc.next; member; member = member->cg.cyc.next)
256 if (left_parent->cg.cyc.num != 0 && left_child->cg.cyc.num != 0
257 && left_parent->cg.cyc.num == left_child->cg.cyc.num)
260 if (right_parent->cg.cyc.num != 0 && right_child->cg.cyc.num != 0
261 && right_parent->cg.cyc.num == right_child->cg.cyc.num)
281 if (right_parent->cg.cyc.num != 0 && right_child->cg.cyc.num != 0
282 && right_parent->cg.cyc.num == right_child->cg.cyc.num)
351 if (child->cg.cyc.head != 0)
352 cycle_head = child->cg.cyc.head;
370 if (child == parent || (child->cg.cyc.num != 0
371 && parent->cg.cyc.num == child->cg.cyc.num))
443 if (child == parent || (child->cg.cyc.num != 0
444 && child->cg.cyc.num == parent->cg.cyc.num))
462 arc->count, child->cg.cyc.head->ncalls);
525 if (!parent->name && parent->cg.cyc.num != 0)
651 sprintf (buf, _("<cycle %d>"), sym->cg.cyc.num);
660 sprintf (buf, _("<cycle %d>"), sym->cg.cyc.num);