Lines Matching refs:os

536 void StringTimings::Dump(std::ostream& os) const {  in Dump()
538 os << "Compare equal " << static_cast<double>(time_equal_comparisons_) / comparisons << "\n"; in Dump()
539os << "Compare not equal " << static_cast<double>(time_non_equal_comparisons_) / comparisons << "\… in Dump()
542 void AnalyzeStrings::Dump(std::ostream& os, uint64_t total_size) const { in Dump() argument
543 os << "Total string data bytes " << Percent(string_data_bytes_, total_size) << "\n"; in Dump()
544 os << "Total unique string data bytes " in Dump()
546 os << "UTF-16 string data bytes " << Percent(wide_string_bytes_, total_size) << "\n"; in Dump()
547 os << "ASCII string data bytes " << Percent(ascii_string_bytes_, total_size) << "\n"; in Dump()
549 os << "Prefix string timings\n"; in Dump()
550 prefix_timings_.Dump(os); in Dump()
551 os << "Normal string timings\n"; in Dump()
552 normal_timings_.Dump(os); in Dump()
555 os << "Total shared prefix bytes " << Percent(total_shared_prefix_bytes_, total_size) << "\n"; in Dump()
556 os << "Prefix dictionary cost " << Percent(total_prefix_dict_, total_size) << "\n"; in Dump()
557 os << "Prefix table cost " << Percent(total_prefix_table_, total_size) << "\n"; in Dump()
558 os << "Prefix index cost " << Percent(total_prefix_index_cost_, total_size) << "\n"; in Dump()
563 os << "Prefix dictionary elements " << total_num_prefixes_ << "\n"; in Dump()
564 os << "Prefix base savings " << Percent(total_prefix_savings_, total_size) << "\n"; in Dump()
565 os << "Prefix net savings " << Percent(net_savings, total_size) << "\n"; in Dump()
566 os << "Strings using prefix " in Dump()
568 os << "Short strings " << Percent(short_strings_, short_strings_ + long_strings_) << "\n"; in Dump()
574 os << pair.first << " : " << pair.second << "\n"; in Dump()