Lines Matching refs:c2
454 struct cmdinfo c1, c2;
462 memcpy(&c2, d2->data, sizeof(c2));
465 t2 = c2.ci_utime + c2.ci_stime;
470 return (cmp_comm(c1.ci_comm, c2.ci_comm));
479 struct cmdinfo c1, c2;
483 memcpy(&c2, d2->data, sizeof(c2));
488 t2 = c2.ci_utime + c2.ci_stime;
489 t2 /= (double) (c2.ci_calls ? c2.ci_calls : 1);
494 return (cmp_comm(c1.ci_comm, c2.ci_comm));
503 struct cmdinfo c1, c2;
506 memcpy(&c2, d2->data, sizeof(c2));
508 if (c1.ci_io < c2.ci_io)
510 else if (c1.ci_io == c2.ci_io)
511 return (cmp_comm(c1.ci_comm, c2.ci_comm));
520 struct cmdinfo c1, c2;
524 memcpy(&c2, d2->data, sizeof(c2));
528 n2 = (double) c2.ci_io / (double) (c2.ci_calls ? c2.ci_calls : 1);
531 n2 = c2.ci_io / (double) (c2.ci_calls ? c2.ci_calls : 1);
537 return (cmp_comm(c1.ci_comm, c2.ci_comm));
546 struct cmdinfo c1, c2;
549 memcpy(&c2, d2->data, sizeof(c2));
551 if (c1.ci_mem < c2.ci_mem)
553 else if (c1.ci_mem == c2.ci_mem)
554 return (cmp_comm(c1.ci_comm, c2.ci_comm));
563 struct cmdinfo c1, c2;
572 memcpy(&c2, d2->data, sizeof(c2));
575 t2 = c2.ci_utime + c2.ci_stime;
579 n2 = (double) c2.ci_mem / (double) (t2 ? t2 : 1);
582 n2 = c2.ci_mem / (t2 ? t2 : 1);
588 return (cmp_comm(c1.ci_comm, c2.ci_comm));
597 struct cmdinfo c1, c2;
600 memcpy(&c2, d2->data, sizeof(c2));
602 if (c1.ci_calls < c2.ci_calls)
604 else if (c1.ci_calls == c2.ci_calls)
605 return (cmp_comm(c1.ci_comm, c2.ci_comm));