Lines Matching refs:c2
397 struct cmdinfo c1, c2;
401 memcpy(&c2, d2->data, sizeof(c2));
404 t2 = c2.ci_utime + c2.ci_stime;
409 return (cmp_comm(c1.ci_comm, c2.ci_comm));
418 struct cmdinfo c1, c2;
422 memcpy(&c2, d2->data, sizeof(c2));
427 t2 = c2.ci_utime + c2.ci_stime;
428 t2 /= (double) (c2.ci_calls ? c2.ci_calls : 1);
433 return (cmp_comm(c1.ci_comm, c2.ci_comm));
442 struct cmdinfo c1, c2;
445 memcpy(&c2, d2->data, sizeof(c2));
447 if (c1.ci_io < c2.ci_io)
449 else if (c1.ci_io == c2.ci_io)
450 return (cmp_comm(c1.ci_comm, c2.ci_comm));
459 struct cmdinfo c1, c2;
463 memcpy(&c2, d2->data, sizeof(c2));
466 n2 = c2.ci_io / (double) (c2.ci_calls ? c2.ci_calls : 1);
471 return (cmp_comm(c1.ci_comm, c2.ci_comm));
480 struct cmdinfo c1, c2;
483 memcpy(&c2, d2->data, sizeof(c2));
485 if (c1.ci_mem < c2.ci_mem)
487 else if (c1.ci_mem == c2.ci_mem)
488 return (cmp_comm(c1.ci_comm, c2.ci_comm));
497 struct cmdinfo c1, c2;
502 memcpy(&c2, d2->data, sizeof(c2));
505 t2 = c2.ci_utime + c2.ci_stime;
508 n2 = c2.ci_mem / (t2 ? t2 : 1);
513 return (cmp_comm(c1.ci_comm, c2.ci_comm));
522 struct cmdinfo c1, c2;
525 memcpy(&c2, d2->data, sizeof(c2));
527 if (c1.ci_calls < c2.ci_calls)
529 else if (c1.ci_calls == c2.ci_calls)
530 return (cmp_comm(c1.ci_comm, c2.ci_comm));