Lines Matching refs:c1
397 struct cmdinfo c1, c2;
400 memcpy(&c1, d1->data, sizeof(c1));
403 t1 = c1.ci_utime + c1.ci_stime;
409 return (cmp_comm(c1.ci_comm, c2.ci_comm));
418 struct cmdinfo c1, c2;
421 memcpy(&c1, d1->data, sizeof(c1));
424 t1 = c1.ci_utime + c1.ci_stime;
425 t1 /= (double) (c1.ci_calls ? c1.ci_calls : 1);
433 return (cmp_comm(c1.ci_comm, c2.ci_comm));
442 struct cmdinfo c1, c2;
444 memcpy(&c1, d1->data, sizeof(c1));
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;
462 memcpy(&c1, d1->data, sizeof(c1));
465 n1 = c1.ci_io / (double) (c1.ci_calls ? c1.ci_calls : 1);
471 return (cmp_comm(c1.ci_comm, c2.ci_comm));
480 struct cmdinfo c1, c2;
482 memcpy(&c1, d1->data, sizeof(c1));
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;
501 memcpy(&c1, d1->data, sizeof(c1));
504 t1 = c1.ci_utime + c1.ci_stime;
507 n1 = c1.ci_mem / (t1 ? t1 : 1);
513 return (cmp_comm(c1.ci_comm, c2.ci_comm));
522 struct cmdinfo c1, c2;
524 memcpy(&c1, d1->data, sizeof(c1));
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));