Lines Matching refs:c1
406 struct cmdinfo c1, c2;
409 memcpy(&c1, d1->data, sizeof(c1));
412 t1 = c1.ci_utime + c1.ci_stime;
418 return (cmp_comm(c1.ci_comm, c2.ci_comm));
427 struct cmdinfo c1, c2;
430 memcpy(&c1, d1->data, sizeof(c1));
433 t1 = c1.ci_utime + c1.ci_stime;
434 t1 /= (double) (c1.ci_calls ? c1.ci_calls : 1);
442 return (cmp_comm(c1.ci_comm, c2.ci_comm));
451 struct cmdinfo c1, c2;
453 memcpy(&c1, d1->data, sizeof(c1));
456 if (c1.ci_io < c2.ci_io)
458 else if (c1.ci_io == c2.ci_io)
459 return (cmp_comm(c1.ci_comm, c2.ci_comm));
468 struct cmdinfo c1, c2;
471 memcpy(&c1, d1->data, sizeof(c1));
474 n1 = (double) c1.ci_io / (double) (c1.ci_calls ? c1.ci_calls : 1);
480 return (cmp_comm(c1.ci_comm, c2.ci_comm));
489 struct cmdinfo c1, c2;
491 memcpy(&c1, d1->data, sizeof(c1));
494 if (c1.ci_mem < c2.ci_mem)
496 else if (c1.ci_mem == c2.ci_mem)
497 return (cmp_comm(c1.ci_comm, c2.ci_comm));
506 struct cmdinfo c1, c2;
510 memcpy(&c1, d1->data, sizeof(c1));
513 t1 = c1.ci_utime + c1.ci_stime;
516 n1 = (double) c1.ci_mem / (double) (t1 ? t1 : 1);
522 return (cmp_comm(c1.ci_comm, c2.ci_comm));
531 struct cmdinfo c1, c2;
533 memcpy(&c1, d1->data, sizeof(c1));
536 if (c1.ci_calls < c2.ci_calls)
538 else if (c1.ci_calls == c2.ci_calls)
539 return (cmp_comm(c1.ci_comm, c2.ci_comm));