Lines Matching refs:prof_uint
74 pc_to_index (size_t pc, size_t offset, unsigned int scale, int prof_uint) in pc_to_index() argument
76 size_t i = (pc - offset) / (prof_uint ? sizeof (int) : sizeof (short)); in pc_to_index()
86 int prof_uint) in index_to_pc() argument
88 size_t pc, bin_size = (prof_uint ? sizeof (int) : sizeof (short)); in index_to_pc()
96 if (pc_to_index (pc, offset, scale, prof_uint) < n) in index_to_pc()
100 assert (pc_to_index (pc - 1, offset, scale, prof_uint) < n in index_to_pc()
101 && pc_to_index (pc, offset, scale, prof_uint) >= n); in index_to_pc()
107 profil_count (uintptr_t pcp, int prof_uint) in profil_count() argument
143 i = pc_to_index (pc, region->offset, region->scale, prof_uint); in profil_count()
146 if (prof_uint) in profil_count()
159 if (prof_uint) in profil_count()
194 int prof_uint) in insert() argument
214 r[i].nsamples = p->pr_size / (prof_uint ? sizeof (int) : sizeof (short)); in insert()
237 add_region (struct prof *p, int prof_uint) in add_region() argument
246 nsamples = p->pr_size / (prof_uint ? sizeof (int) : sizeof (short)); in add_region()
249 end = index_to_pc (nsamples, p->pr_off, p->pr_scale, prof_uint); in add_region()
258 else if (insert (i, start, prof_info.region[i].start, p, prof_uint) in add_region()
264 return insert (i, start, end, p, prof_uint); in add_region()