Lines Matching refs:histograms
431 if (!histograms) in gmon_out_read()
483 if (histograms && (tmp.low_pc != histograms->lowpc in gmon_out_read()
484 || tmp.high_pc != histograms->highpc in gmon_out_read()
485 || (hist_num_bins != histograms->num_bins))) in gmon_out_read()
492 if (!histograms) in gmon_out_read()
495 histograms = (struct histogram *) xmalloc (sizeof (struct histogram)); in gmon_out_read()
496 histograms->lowpc = tmp.low_pc; in gmon_out_read()
497 histograms->highpc = tmp.high_pc; in gmon_out_read()
498 histograms->num_bins = hist_num_bins; in gmon_out_read()
501 histograms->sample = (int *) xmalloc (hist_num_bins * sizeof (int)); in gmon_out_read()
502 memset (histograms->sample, 0, in gmon_out_read()
514 if (samp_bytes < 0 || histograms->lowpc > histograms->highpc) in gmon_out_read()
535 histograms->sample[i] in gmon_out_read()
684 if (gmon_io_write_vma (ofp, histograms->lowpc) in gmon_out_write()
685 || gmon_io_write_vma (ofp, histograms->highpc) in gmon_out_write()
686 || gmon_io_write_32 (ofp, histograms->num_bins in gmon_out_write()
715 for (i = 0; i < histograms->num_bins; ++i) in gmon_out_write()
717 bfd_put_16 (core_bfd, (bfd_vma) histograms->sample[i], in gmon_out_write()