Lines Matching refs:histogram
75 vec<histogram_entry *> histogram; variable
103 vec<histogram_entry *> &histogram, in account_time_size() argument
113 histogram.safe_push (*val); in account_time_size()
134 dump_histogram (FILE *file, vec<histogram_entry *> histogram) in dump_histogram() argument
141 for (i = 0; i < histogram.length (); i++) in dump_histogram()
143 overall_time += histogram[i]->count * histogram[i]->time; in dump_histogram()
144 overall_size += histogram[i]->size; in dump_histogram()
150 for (i = 0; i < histogram.length (); i++) in dump_histogram()
152 cumulated_time += histogram[i]->count * histogram[i]->time; in dump_histogram()
153 cumulated_size += histogram[i]->size; in dump_histogram()
155 (int64_t) histogram[i]->count, in dump_histogram()
156 histogram[i]->time, in dump_histogram()
158 histogram[i]->size, in dump_histogram()
328 account_time_size (&hashtable, histogram, in ipa_profile_generate_summary()
332 histogram.qsort (cmp_counts); in ipa_profile_generate_summary()
371 streamer_write_uhwi_stream (ob->main_stream, histogram.length ()); in ipa_profile_write_summary()
372 for (i = 0; i < histogram.length (); i++) in ipa_profile_write_summary()
374 streamer_write_gcov_count_stream (ob->main_stream, histogram[i]->count); in ipa_profile_write_summary()
375 streamer_write_uhwi_stream (ob->main_stream, histogram[i]->time); in ipa_profile_write_summary()
376 streamer_write_uhwi_stream (ob->main_stream, histogram[i]->size); in ipa_profile_write_summary()
526 account_time_size (&hashtable, histogram, in ipa_profile_read_summary()
537 histogram.qsort (cmp_counts); in ipa_profile_read_summary()
774 dump_histogram (dump_file, histogram); in ipa_profile()
775 for (i = 0; i < (int)histogram.length (); i++) in ipa_profile()
777 overall_time += histogram[i]->count * histogram[i]->time; in ipa_profile()
778 overall_size += histogram[i]->size; in ipa_profile()
788 cumulated += histogram[i]->count * histogram[i]->time; in ipa_profile()
789 threshold = histogram[i]->count; in ipa_profile()
798 i < (int)histogram.length () && histogram[i]->count >= threshold; in ipa_profile()
801 cumulated_time += histogram[i]->count * histogram[i]->time; in ipa_profile()
802 cumulated_size += histogram[i]->size; in ipa_profile()
818 histogram.release (); in ipa_profile()