Home | History | Annotate | Download | only in sa

Lines Matching refs:c2

406 	struct cmdinfo c1, c2;
410 memcpy(&c2, d2->data, sizeof(c2));
413 t2 = c2.ci_utime + c2.ci_stime;
418 return (cmp_comm(c1.ci_comm, c2.ci_comm));
427 struct cmdinfo c1, c2;
431 memcpy(&c2, d2->data, sizeof(c2));
436 t2 = c2.ci_utime + c2.ci_stime;
437 t2 /= (double) (c2.ci_calls ? c2.ci_calls : 1);
442 return (cmp_comm(c1.ci_comm, c2.ci_comm));
451 struct cmdinfo c1, c2;
454 memcpy(&c2, d2->data, sizeof(c2));
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;
472 memcpy(&c2, d2->data, sizeof(c2));
475 n2 = (double) c2.ci_io / (double) (c2.ci_calls ? c2.ci_calls : 1);
480 return (cmp_comm(c1.ci_comm, c2.ci_comm));
489 struct cmdinfo c1, c2;
492 memcpy(&c2, d2->data, sizeof(c2));
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;
511 memcpy(&c2, d2->data, sizeof(c2));
514 t2 = c2.ci_utime + c2.ci_stime;
517 n2 = (double) c2.ci_mem / (double) (t2 ? t2 : 1);
522 return (cmp_comm(c1.ci_comm, c2.ci_comm));
531 struct cmdinfo c1, c2;
534 memcpy(&c2, d2->data, sizeof(c2));
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));