Lines Matching refs:c1
454 struct cmdinfo c1, c2;
461 memcpy(&c1, d1->data, sizeof(c1));
464 t1 = c1.ci_utime + c1.ci_stime;
470 return (cmp_comm(c1.ci_comm, c2.ci_comm));
479 struct cmdinfo c1, c2;
482 memcpy(&c1, d1->data, sizeof(c1));
485 t1 = c1.ci_utime + c1.ci_stime;
486 t1 /= (double) (c1.ci_calls ? c1.ci_calls : 1);
494 return (cmp_comm(c1.ci_comm, c2.ci_comm));
503 struct cmdinfo c1, c2;
505 memcpy(&c1, d1->data, sizeof(c1));
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;
523 memcpy(&c1, d1->data, sizeof(c1));
527 n1 = (double) c1.ci_io / (double) (c1.ci_calls ? c1.ci_calls : 1);
530 n1 = c1.ci_io / (double) (c1.ci_calls ? c1.ci_calls : 1);
537 return (cmp_comm(c1.ci_comm, c2.ci_comm));
546 struct cmdinfo c1, c2;
548 memcpy(&c1, d1->data, sizeof(c1));
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;
571 memcpy(&c1, d1->data, sizeof(c1));
574 t1 = c1.ci_utime + c1.ci_stime;
578 n1 = (double) c1.ci_mem / (double) (t1 ? t1 : 1);
581 n1 = c1.ci_mem / (t1 ? t1 : 1);
588 return (cmp_comm(c1.ci_comm, c2.ci_comm));
597 struct cmdinfo c1, c2;
599 memcpy(&c1, d1->data, sizeof(c1));
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));