• Home
  • Raw
  • Download

Lines Matching refs:Percent

53 std::string Percent(uint64_t value, uint64_t max) {  in Percent()  function
189 os << "Debug info bytes " << Percent(total_bytes_, total_size) << "\n"; in Dump()
191 os << " DBG_END_SEQUENCE: " << Percent(total_end_seq_bytes_, total_size) << "\n"; in Dump()
192 os << " DBG_ADVANCE_PC: " << Percent(total_advance_pc_bytes_, total_size) << "\n"; in Dump()
193 os << " DBG_ADVANCE_LINE: " << Percent(total_advance_line_bytes_, total_size) << "\n"; in Dump()
194 os << " DBG_START_LOCAL: " << Percent(total_start_local_bytes_, total_size) << "\n"; in Dump()
196 << Percent(total_start_local_extended_bytes_, total_size) << "\n"; in Dump()
197 os << " DBG_END_LOCAL: " << Percent(total_end_local_bytes_, total_size) << "\n"; in Dump()
198 os << " DBG_RESTART_LOCAL: " << Percent(total_restart_local_bytes_, total_size) << "\n"; in Dump()
199 os << " DBG_SET_PROLOGUE bytes " << Percent(total_epilogue_bytes_, total_size) << "\n"; in Dump()
200 os << " DBG_SET_FILE bytes " << Percent(total_set_file_bytes_, total_size) << "\n"; in Dump()
202 << Percent(total_other_bytes_, total_size) << "\n"; in Dump()
203 os << "Debug info entropy " << Percent(total_entropy_, total_size) << "\n"; in Dump()
204 os << "Debug info opcode bytes " << Percent(total_opcode_bytes_, total_size) << "\n"; in Dump()
205 os << "Debug info opcode entropy " << Percent(total_opcode_entropy_, total_size) << "\n"; in Dump()
206 os << "Debug info non header bytes " << Percent(total_non_header_bytes_, total_size) << "\n"; in Dump()
208 << Percent(total_unique_non_header_bytes_, total_size) << "\n"; in Dump()
486 os << " field_idx=" << i << ": " << Percent(stats.field_index_[i], fields_idx_total) << "\n"; in Dump()
488 os << " field_idx=other: " << Percent(stats.field_index_other_, fields_idx_total) << "\n"; in Dump()
489 os << " field_idx=other_class: " << Percent(stats.field_index_other_class_, fields_idx_total) in Dump()
496 os << " receiver_reg=" << i << ": " << Percent(stats.receiver_[i], fields_total) << "\n"; in Dump()
501 os << " " << inout_tag << "=" << i << ": " << Percent(stats.inout_[i], fields_total) << "\n"; in Dump()
504 os << " short_bytecode: " << Percent(stats.short_bytecode_, fields_total) << "\n"; in Dump()
505 os << " short_bytecode_savings=" << Percent(stats.short_bytecode_ * 2, total_size) << "\n"; in Dump()
517 os << " " << inout_tag << "=" << i << ": " << Percent(stats.inout_[i], fields_total) << "\n"; in Dump()
519 os << " " << inout_tag << "=other: " << Percent(stats.inout_other_, fields_total) << "\n"; in Dump()
521 os << " short_bytecode: " << Percent(stats.short_bytecode_, fields_total) << "\n"; in Dump()
522 os << " short_bytecode_savings=" << Percent(stats.short_bytecode_ * 2, total_size) << "\n"; in Dump()
545 << Percent(total_unique_method_ids_, total_size) << "\n"; in Dump()
547 << Percent(total_unique_string_ids_, total_size) << "\n"; in Dump()
549 << Percent(total_unique_types_, total_size) << "\n"; in Dump()
562 os << "Unique method names: " << Percent(total_unique_method_names_, num_field_ids_) << "\n"; in Dump()
563 os << "Unique field names: " << Percent(total_unique_field_names_, num_method_ids_) << "\n"; in Dump()
564 os << "Unique type names: " << Percent(total_unique_type_names_, num_type_ids_) << "\n"; in Dump()
566 << Percent(total_unique_mf_names_, num_field_ids_ + num_method_ids_) << "\n"; in Dump()
571 os << "Total Dex code bytes: " << Percent(dex_code_bytes_, total_size) << "\n"; in Dump()
612 os << "args=" << i << ": " << Percent(arg_counts_[i], total) << "\n"; in Dump()
614 os << "Move result savings: " << Percent(move_result_savings_, total_size) << "\n"; in Dump()
615 os << "One byte invoke savings: " << Percent(total, total_size) << "\n"; in Dump()
617 os << "Low arg savings: " << Percent(low_arg_total * 2, total_size) << "\n"; in Dump()