Lines Matching defs:cyc
114 print_cycle (Sym *cyc)
118 sprintf (buf, "[%d]", cyc->cg.index);
122 100 * (cyc->cg.prop.self + cyc->cg.prop.child) / print_time,
123 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls);
125 if (cyc->cg.self_calls != 0)
126 printf ("+%-7lu", cyc->cg.self_calls);
130 printf (_(" <cycle %d as a whole> [%d]\n"), cyc->cg.cyc.num, cyc->cg.index);
162 sort_members (Sym *cyc)
168 todo = cyc->cg.cyc.next;
169 cyc->cg.cyc.next = 0;
173 todo = doing->cg.cyc.next;
175 for (prev = cyc; prev->cg.cyc.next; prev = prev->cg.cyc.next)
177 if (cmp_member (doing, prev->cg.cyc.next) == GREATERTHAN)
181 doing->cg.cyc.next = prev->cg.cyc.next;
182 prev->cg.cyc.next = doing;
189 print_members (Sym *cyc)
193 sort_members (cyc);
195 for (member = cyc->cg.cyc.next; member; member = member->cg.cyc.next)
253 if (left_parent->cg.cyc.num != 0 && left_child->cg.cyc.num != 0
254 && left_parent->cg.cyc.num == left_child->cg.cyc.num)
257 if (right_parent->cg.cyc.num != 0 && right_child->cg.cyc.num != 0
258 && right_parent->cg.cyc.num == right_child->cg.cyc.num)
278 if (right_parent->cg.cyc.num != 0 && right_child->cg.cyc.num != 0
279 && right_parent->cg.cyc.num == right_child->cg.cyc.num)
348 if (child->cg.cyc.head != 0)
349 cycle_head = child->cg.cyc.head;
367 if (child == parent || (child->cg.cyc.num != 0
368 && parent->cg.cyc.num == child->cg.cyc.num))
440 if (child == parent || (child->cg.cyc.num != 0
441 && child->cg.cyc.num == parent->cg.cyc.num))
459 arc->count, child->cg.cyc.head->ncalls);
522 if (!parent->name && parent->cg.cyc.num != 0)
648 sprintf (buf, _("<cycle %d>"), sym->cg.cyc.num);
657 sprintf (buf, _("<cycle %d>"), sym->cg.cyc.num);