Lines Matching defs:cip
164 struct cmdinfo *cip, ci, ci_total, ci_other, ci_junk;
192 cip = (struct cmdinfo *) data.data;
193 bcopy(cip, &ci, sizeof ci);
243 cip = (struct cmdinfo *) data.data;
244 bcopy(cip, &ci, sizeof ci);
257 check_junk(const struct cmdinfo *cip)
262 fprintf(stderr, "%s (%ju) -- ", cip->ci_comm, (uintmax_t)cip->ci_calls);
280 print_ci(const struct cmdinfo *cip, const struct cmdinfo *totalcip)
285 c = cip->ci_calls ? cip->ci_calls : 1;
286 t = (cip->ci_utime + cip->ci_stime) / 1000000;
293 printf("%8ju ", (uintmax_t)cip->ci_calls);
295 if (cip != totalcip)
296 printf(" %4.1f%% ", cip->ci_calls /
303 printf("%11.3fre ", cip->ci_etime / (1000000 * c));
305 printf("%11.3fre ", cip->ci_etime / (60.0 * 1000000));
307 if (cip != totalcip)
308 printf(" %4.1f%% ", cip->ci_etime /
316 printf("%11.3fcp ", t / (double) cip->ci_calls);
320 if (cip != totalcip)
322 (cip->ci_utime + cip->ci_stime) /
330 printf("%11.3fu ", cip->ci_utime / (1000000 * c));
332 printf("%11.2fu ", cip->ci_utime / (60.0 * 1000000));
334 if (cip != totalcip)
335 printf(" %4.1f%% ", cip->ci_utime /
341 printf("%11.3fs ", cip->ci_stime / (1000000 * c));
343 printf("%11.2fs ", cip->ci_stime / (60.0 * 1000000));
345 if (cip != totalcip)
346 printf(" %4.1f%% ", cip->ci_stime /
356 cip->ci_etime /
357 (cip->ci_utime + cip->ci_stime));
363 printf("%10.0fio ", cip->ci_io);
365 printf("%8.0favio ", cip->ci_io / c);
368 printf("%10.0fk*sec ", cip->ci_mem);
370 printf("%8.0fk ", cip->ci_mem / t);
372 printf(" %s\n", cip->ci_comm);