Home | History | Annotate | Download | only in gprof

Lines Matching refs:histogram

1 /* hist.c  -  Histogram related operations.
47 static histogram *find_histogram (bfd_vma lowpc, bfd_vma highpc);
48 static histogram *find_histogram_for_pc (bfd_vma pc);
50 histogram * histograms;
81 /* Reads just the header part of histogram record into
87 that the new histogram is compatible with already-set values
90 read_histogram_header (histogram *record,
117 /* We don't try to verify profrate is the same for all histogram
118 records. If we have two histogram records for the same
134 _("%s: dimension unit changed between histogram records\n"
144 _("%s: dimension abbreviation changed between histogram records\n"
158 _("%s: different scales in histogram records: %f != %f\n"),
165 /* Read the histogram from file IFP. FILENAME is the name of IFP and
172 histogram n_record;
173 histogram *record, *existing_record;
195 _("%s: overlapping histogram records\n"),
202 histograms = (struct histogram *)
203 xrealloc (histograms, sizeof (histogram) * (num_histograms + 1));
205 &n_record, sizeof (histogram));
214 /* 2. We have either a new record (with zeroed histogram data), or an existing
215 record with some data in the histogram already. Read new data into the
255 histogram *record = &histograms[r];
301 histogram *r = find_histogram_for_pc (sym->addr);
326 Histogram bin I covers some address range [BIN_LOWPC,BIN_HIGH_PC)
362 hist_assign_samples_1 (histogram *r)
448 /* Calls 'hist_assign_samples_1' for all histogram records read so far. */
461 /* Print header for flag histogram profile. */
564 /* Print the flat histogram profile. */
715 "several histogram records"),
730 /* Find and return existing histogram record having the same lowpc and
732 The return value is valid until any new histogram is read. */
733 static histogram *
745 /* Given a PC, return histogram record which address range include this PC.
747 static histogram *