- cout << _("Pkg Hashtable stats:") << endl;
- cout << _("Number of buckets: ") << SizeToStr(NumBuckets) << endl;
- cout << _("Unused buckets: ") << SizeToStr(UnusedBuckets) << endl;
- cout << _("Used buckets: ") << UsedBuckets << endl;
- cout << _("Average num entries per bucket : ") << UsedBuckets/(double)NumBuckets << endl;
- cout << _("Longest / Shortest bucket: ") << LongestBucket << " / " << ShortestBucket << endl;
-
- // get the hash collisions average
+ cout << "Total PkgHashTable buckets: " << SizeToStr(NumBuckets) << std::endl;
+ cout << " Unused: " << SizeToStr(UnusedBuckets) << std::endl;
+ cout << " Used: " << UsedBuckets << std::endl;
+ cout << " Average entries: " << UsedBuckets/(double)NumBuckets << std::endl;
+ cout << " Longest: " << LongestBucket << std::endl;
+ cout << " Shortest: " << ShortestBucket << std::endl;
+
+ // hashtable stats for the GrpHashTable