/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | gmon.c | 71 monstartup(lowpc, highpc) in monstartup() argument 72 char *lowpc; in monstartup() 83 lowpc = (char *) 84 ROUNDDOWN((unsigned) lowpc, HISTFRACTION*sizeof(HISTCOUNTER)); 85 s_lowpc = lowpc; 89 s_textsize = highpc - lowpc; 119 ( (struct phdr *) buffer ) -> lpc = lowpc; 125 o = highpc - lowpc;
|
/openbsd/gnu/usr.bin/gcc/gcc/config/i386/ |
H A D | gmon-sol2.c | 129 monstartup(lowpc, highpc) in monstartup() argument 130 char *lowpc; in monstartup() 141 lowpc = (char *) 142 ROUNDDOWN((unsigned)lowpc, HISTFRACTION*sizeof(HISTCOUNTER)); 143 s_lowpc = lowpc; 147 s_textsize = highpc - lowpc; 177 ( (struct phdr *) buffer ) -> lpc = lowpc; 183 o = highpc - lowpc;
|
/openbsd/gnu/usr.bin/gcc/gcc/config/sparc/ |
H A D | gmon-sol2.c | 92 void monstartup(lowpc, highpc) in monstartup() argument 93 char *lowpc; in monstartup() 104 lowpc = (char *) 105 ROUNDDOWN((unsigned long)lowpc, HISTFRACTION*sizeof(HISTCOUNTER)); 106 s_lowpc = lowpc; 110 s_textsize = highpc - lowpc; 140 ( (struct phdr *) buffer ) -> lpc = lowpc; 146 o = highpc - lowpc;
|
/openbsd/gnu/gcc/gcc/config/i386/ |
H A D | gmon-sol2.c | 123 monstartup(char *lowpc, char *highpc) in monstartup() argument 133 lowpc = (char *) in monstartup() 134 ROUNDDOWN((unsigned long)lowpc, HISTFRACTION*sizeof(HISTCOUNTER)); in monstartup() 135 s_lowpc = lowpc; in monstartup() 139 s_textsize = highpc - lowpc; in monstartup() 169 ( (struct phdr *) buffer ) -> lpc = lowpc; in monstartup() 175 o = highpc - lowpc; in monstartup()
|
/openbsd/gnu/gcc/gcc/config/sparc/ |
H A D | gmon-sol2.c | 95 void monstartup(char *lowpc, char *highpc) in monstartup() argument 105 lowpc = (char *) in monstartup() 106 ROUNDDOWN((unsigned long)lowpc, HISTFRACTION*sizeof(HISTCOUNTER)); in monstartup() 107 s_lowpc = lowpc; in monstartup() 111 s_textsize = highpc - lowpc; in monstartup() 141 ( (struct phdr *) buffer ) -> lpc = lowpc; in monstartup() 147 o = highpc - lowpc; in monstartup()
|
/openbsd/lib/libc/gmon/ |
H A D | gmon.c | 55 monstartup(u_long lowpc, u_long highpc) in monstartup() argument 65 p->lowpc = ROUNDDOWN(lowpc, HISTFRACTION * sizeof(HISTCOUNTER)); in monstartup() 67 p->textsize = p->highpc - p->lowpc; in monstartup() 97 o = p->highpc - p->lowpc; in monstartup() 236 hdr->lpc = p->lowpc; in _mcleanup() 248 frompc = p->lowpc; in _mcleanup() 294 profil((char *)p->kcount, p->kcountsize, p->lowpc, in moncontrol()
|
H A D | mcount.c | 86 frompc -= p->lowpc; in _MCOUNT_DECL()
|
/openbsd/gnu/usr.bin/binutils-2.17/gprof/ |
H A D | hist.c | 47 bfd_vma lowpc, highpc; /* Same, but expressed in UNITs. */ variable 108 lowpc = (bfd_vma) n_lowpc / sizeof (UNIT); in hist_read_rec() 121 (unsigned long) lowpc, (unsigned long) highpc)); in hist_read_rec() 208 bin_of_entry = (sym->hist.scaled_addr - lowpc) / hist_scale; in scale_and_align_entries() 209 bin_of_code = ((sym->hist.scaled_addr + UNITS_TO_CODE - lowpc) in scale_and_align_entries() 272 hist_scale = highpc - lowpc; in hist_assign_samples() 283 bin_low_pc = lowpc + (bfd_vma) (hist_scale * i); in hist_assign_samples() 284 bin_high_pc = lowpc + (bfd_vma) (hist_scale * (i + 1)); in hist_assign_samples()
|
H A D | hist.h | 26 extern bfd_vma lowpc, highpc; /* Range profiled, in UNIT's. */
|
H A D | gmon_io.c | 494 lowpc = (bfd_vma) h.low_pc / sizeof (UNIT); in gmon_out_read() 506 (unsigned long) lowpc, (unsigned long) highpc); in gmon_out_read() 511 if (samp_bytes < 0 || lowpc > highpc) in gmon_out_read()
|
/openbsd/sys/kern/ |
H A D | subr_prof.c | 75 u_long lowpc, highpc, textsize; in prof_init() local 85 lowpc = ROUNDDOWN(KERNBASE, HISTFRACTION * sizeof(HISTCOUNTER)); in prof_init() 87 textsize = highpc - lowpc; in prof_init() 90 textsize, lowpc, highpc); in prof_init() 123 p->lowpc = lowpc; in prof_init() 251 i = CLKF_PC(frame) - g->lowpc; in gmonclock()
|
/openbsd/gnu/usr.bin/binutils/gprof/ |
H A D | hist.c | 46 bfd_vma lowpc, highpc; /* Same, but expressed in UNITs. */ variable 109 lowpc = (bfd_vma) n_lowpc / sizeof (UNIT); 122 (unsigned long) lowpc, (unsigned long) highpc)); 211 bin_of_entry = (sym->hist.scaled_addr - lowpc) / hist_scale; in scale_and_align_entries() 212 bin_of_code = ((sym->hist.scaled_addr + UNITS_TO_CODE - lowpc) in scale_and_align_entries() 275 hist_scale = highpc - lowpc; in hist_assign_samples() 286 bin_low_pc = lowpc + (bfd_vma) (hist_scale * i); in hist_assign_samples() 287 bin_high_pc = lowpc + (bfd_vma) (hist_scale * (i + 1)); in hist_assign_samples()
|
H A D | hist.h | 26 extern bfd_vma lowpc, highpc; /* Range profiled, in UNIT's. */
|
H A D | gmon_io.c | 518 lowpc = (bfd_vma) h.low_pc / sizeof (UNIT); 530 (unsigned long) lowpc, (unsigned long) highpc); 535 if (samp_bytes < 0 || lowpc > highpc)
|
/openbsd/usr.bin/gprof/ |
H A D | gprof.c | 55 unsigned long lowpc, highpc; /* range profiled, in UNIT's */ variable 304 lowpc = (unsigned long)gmonhdr.lpc / sizeof(UNIT); in openpfile() 315 lowpc , highpc ); in openpfile() 473 scale = highpc - lowpc; in asgnsamples() 480 pcl = lowpc + (unsigned long)(scale * i); in asgnsamples() 481 pch = lowpc + (unsigned long)(scale * (i + 1)); in asgnsamples() 558 bucket_of_entry = (nlp->svalue - lowpc) / scale; in alignentries() 559 bucket_of_code = (nlp->svalue + UNITS_TO_CODE - lowpc) / scale; in alignentries()
|
H A D | gprof.h | 188 extern unsigned long lowpc, highpc; /* range profiled, in UNIT's */
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | dwarf2read.c | 473 CORE_ADDR lowpc; member 1514 lowpc = highpc; in dwarf2_build_psymtabs_hard() 1520 comp_unit_die.lowpc = lowpc; in dwarf2_build_psymtabs_hard() 1703 if (pdi->lowpc < *lowpc) in scan_partial_symbols() 1705 *lowpc = pdi->lowpc; in scan_partial_symbols() 2743 lowpc = highpc; in read_file_scope() 2744 lowpc += baseaddr; in read_file_scope() 2844 thisfn->lowpc = lowpc; in add_to_cu_func_list() 2862 CORE_ADDR lowpc; in read_func_scope() local 3171 *lowpc = low; in dwarf2_get_pc_bounds() [all …]
|
H A D | ChangeLog-1996 | 319 If we didn't find a lowpc, set it to highpc to avoid complaints 344 If we didn't find a lowpc, set it to highpc to avoid complaints 346 Relocate lowpc and highpc with baseaddr. 354 Relocate lowpc and highpc with baseaddr. 357 (read_lexical_block_scope): Relocate lowpc and highpc with baseaddr.
|
H A D | ChangeLog | 12087 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
|
H A D | ChangeLog-2003 | 3743 * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and
|
/openbsd/sys/sys/ |
H A D | gmon.h | 135 u_long lowpc; member
|
/openbsd/usr.sbin/kgmon/ |
H A D | kgmon.c | 327 h.lpc = kvp->gpm.lowpc; in dumpstate() 396 kvp->gpm.lowpc, kvp->gpm.textsize); in dumpstate() 401 frompc = (u_long)kvp->gpm.lowpc + in dumpstate()
|
/openbsd/sys/lib/libkern/ |
H A D | mcount.c | 88 frompc -= p->lowpc; in _MCOUNT_DECL()
|
/openbsd/sys/ddb/ |
H A D | db_prof.c | 112 frompc -= p->lowpc; in db_prof_count()
|