Lines Matching refs:stats
214 std::vector<MapPageCounts> stats; in CountZeroPages() local
228 stats.push_back(std::move(map_page_counts)); in CountZeroPages()
243 const auto print_stats = [&stats, &os](size_t max_lines) { in CountZeroPages()
244 for (const MapPageCounts& map_page_counts : stats) { in CountZeroPages()
277 const size_t top_lines = std::min(size_t{20}, stats.size()); in CountZeroPages()
279 std::begin(stats), std::begin(stats) + top_lines, std::end(stats), sort_by_unique_zero_pages); in CountZeroPages()
284 std::partial_sort(std::begin(stats), in CountZeroPages()
285 std::begin(stats) + top_lines, in CountZeroPages()
286 std::end(stats), in CountZeroPages()
293 std::begin(stats), std::begin(stats) + top_lines, std::end(stats), sort_by_shared_zero_pages); in CountZeroPages()
298 std::sort(std::begin(stats), std::end(stats), sort_by_unique_zero_pages); in CountZeroPages()
300 print_stats(stats.size()); in CountZeroPages()