Lines Matching refs:c1
399 struct cmdinfo c1, c2;
402 memcpy(&c1, d1->data, sizeof(c1));
405 t1 = c1.ci_utime + c1.ci_stime;
411 return (cmp_comm(c1.ci_comm, c2.ci_comm));
420 struct cmdinfo c1, c2;
423 memcpy(&c1, d1->data, sizeof(c1));
426 t1 = c1.ci_utime + c1.ci_stime;
427 t1 /= (double) (c1.ci_calls ? c1.ci_calls : 1);
435 return (cmp_comm(c1.ci_comm, c2.ci_comm));
444 struct cmdinfo c1, c2;
446 memcpy(&c1, d1->data, sizeof(c1));
449 if (c1.ci_io < c2.ci_io)
451 else if (c1.ci_io == c2.ci_io)
452 return (cmp_comm(c1.ci_comm, c2.ci_comm));
461 struct cmdinfo c1, c2;
464 memcpy(&c1, d1->data, sizeof(c1));
467 n1 = c1.ci_io / (double) (c1.ci_calls ? c1.ci_calls : 1);
473 return (cmp_comm(c1.ci_comm, c2.ci_comm));
482 struct cmdinfo c1, c2;
484 memcpy(&c1, d1->data, sizeof(c1));
487 if (c1.ci_mem < c2.ci_mem)
489 else if (c1.ci_mem == c2.ci_mem)
490 return (cmp_comm(c1.ci_comm, c2.ci_comm));
499 struct cmdinfo c1, c2;
503 memcpy(&c1, d1->data, sizeof(c1));
506 t1 = c1.ci_utime + c1.ci_stime;
509 n1 = c1.ci_mem / (t1 ? t1 : 1);
515 return (cmp_comm(c1.ci_comm, c2.ci_comm));
524 struct cmdinfo c1, c2;
526 memcpy(&c1, d1->data, sizeof(c1));
529 if (c1.ci_calls < c2.ci_calls)
531 else if (c1.ci_calls == c2.ci_calls)
532 return (cmp_comm(c1.ci_comm, c2.ci_comm));