- printf_filtered (" Hash table size: %3d\n", c->num_buckets);
- printf_filtered (" Hash table population: ");
- print_percentage (occupied_buckets, c->num_buckets);
- printf_filtered (" Median hash chain length: %3d\n",
+ printf_filtered (_(" \
+Total memory used by bcache, including overhead: %ld\n"),
+ m_structure_size);
+ printf_filtered (_(" Percentage memory overhead: "));
+ print_percentage (m_structure_size - m_unique_size, m_unique_size);
+ printf_filtered (_(" Net memory savings: "));
+ print_percentage (m_total_size - m_structure_size, m_total_size);
+ printf_filtered ("\n");
+
+ printf_filtered (_(" Hash table size: %3d\n"),
+ m_num_buckets);
+ printf_filtered (_(" Hash table expands: %lu\n"),
+ m_expand_count);
+ printf_filtered (_(" Hash table hashes: %lu\n"),
+ m_total_count + m_expand_hash_count);
+ printf_filtered (_(" Half hash misses: %lu\n"),
+ m_half_hash_miss_count);
+ printf_filtered (_(" Hash table population: "));
+ print_percentage (occupied_buckets, m_num_buckets);
+ printf_filtered (_(" Median hash chain length: %3d\n"),