Lines Matching defs:n
38 * prof [-ChsVz] [-a | c | n | t] [-o | x] [-g | l]
44 * -n Sort by symbol name.
289 (void) putchar('\n');
349 int n, symct;
368 while ((n = getopt(argc, argv, "canthsglzoxT:m:VC")) != EOF) {
369 switch (n) {
382 case 'n': /* Sort by symbol name. */
404 " previous specification\n", cmdname, n);
412 aformat[2] = n; /* 'o' or 'x' in format */
438 (void) fprintf(stderr, "prof: %s %s\n",
449 } /* End switch (n) */
488 DEBUG_EXP(printf("elf_kind = %d\n", k));
489 DEBUG_EXP(printf("elf_type = %d\n", filhdr.pf_elfhd_p->e_type));
491 Fprint(stderr, "%s: %s: improper format\n", cmdname, sym_fn);
498 DEBUG_EXP(printf("number of symbols (pf_nsyms) = %d\n",
504 Fprint(stderr, "%s: %s: no symbols\n", cmdname, sym_fn);
508 n = fsize(fileno(mon_iop));
527 n_pc = (n - sizeof (head) - n_cc * sizeof (struct cnt))/sizeof (WORD);
591 "low pc = %#o, high pc = %#o, range = %#o = %u\n\
592 call counts: %u, %u used; pc counters: %u\n",
615 "sf = %d, s_inv = %d bias = %d\n",
623 n = symttl; /* Total symbols. */
624 while (--n >= 0) /* Scan symbol table. */
625 if (readnl(n)) /* Read and examine symbol, count qualifiers */
631 Fprint(stderr, "%u symbols, %u qualify\n", symttl, n_syms);
655 for (n = n_syms, symct = 0; n > 0; symct++) {
670 Fprint(stderr, "%-8.8s: %#8o\n", slp->sl_name, slp->sl_addr)
675 --n;
709 for (n = n_syms; n > 0 && vn_cc > 0; ) {
721 --n;
722 } while (n > 0 && slp->sl_addr < ccp->fnpc);
728 "Routine %-8.8s @ %#8x+%-2d matches count address %#8x\n",
744 --n;
786 for (n = 0; n < n_syms; n++) { /* Loop on symbols. */
796 pc0 = slp[n].sl_addr;
800 pc1 = (n < n_syms - 1) ? slp[n+1].sl_addr : pc_h;
820 "%-8.8s\ti0 = %4d, pc00 = %#6o, pc0 = %#6o\n\
821 \t\ti1 = %4d, pc10 = %#6o, pc1 = %#6o\n\t\t",
822 slp[n].sl_name, i0, pc00, pc0, i1, pc10, pc1));
829 OLD_DEBUG(if (debug_value & 010) fprintf(stderr, "ticks = %d\n", ticks));
845 fprintf(stderr, "pc00 < pc0 ticks = %d\n", ticks));
883 OLD_DEBUG(if (debug_value & 010) fprintf(stderr, "ticks = %d\n", ticks));
891 slp[n].sl_time = t; /* Store time for this routine. */
893 OLD_DEBUG(if (debug_value & 010) Fprint(stderr, " ticks = %.2f msec\n", t));
894 } /* End for (n = 0; n < n_syms; n++) */
899 for (n = n_pc, temp = 0; --n >= 0; temp += *(pcp++))
945 for (n = n_syms-1, slp = slist+1; --n >= 0; slp++) {
956 "Synonym series:\n1st->\t%s at address %x, ct=%ld, time=%f\n",
978 "\t%s at address %x, ct=%ld, time=%f\n",
1006 Fprint(stderr, "Total #series %d, #synonyms %d\n", totseries, totsnyms);
1024 "Time unaccounted for: %.7G\n", t_tot - t0));
1039 for (n = n_syms, slp = slist; --n >= 0; slp++) {
1098 Fprint(stderr, "%5d/%d call counts used\n", n_cc, head.nfns);
1102 ", %d had zero time and zero call-counts\n",
1105 (void) putc('\n', stderr);
1106 Fprint(stderr, "%#lx scale factor\n", (long)sf);
1111 Fprint(stderr, "prof: no call counts captured\n");
1138 "`%-8.8s'\tst_info=%#4o, value=%#8.6o\n",
1166 (void) fprintf(stderr, "%s: Out of space\n", cmdname);
1218 Fprint(stderr, "%s: %s: Premature EOF\n", cmdname, fn);
1241 Fprint(stderr, "%s: Internal error\n", cmdname);
1312 #define FORMAT_BUF "%s\n\t\t\t\t\t [%s]"
1373 "usage: %s [-ChsVz] [-a | c | n | t] [-o | x] [-g | l]\n"
1374 "\t[-m mdata] [prog]\n",