Searched refs:kMaxNumOfKernels (Results 1 – 1 of 1) sorted by relevance
38 const int kMaxNumOfKernels = 1000; variable233 if (kernel_stats_db->reports_size() > kMaxNumOfKernels) { in SortAndKeepTopKDurationKernelReportsInDb()236 kernel_stats_db->mutable_reports()->begin() + kMaxNumOfKernels, in SortAndKeepTopKDurationKernelReportsInDb()239 kernel_stats_db->mutable_reports()->begin() + kMaxNumOfKernels, in SortAndKeepTopKDurationKernelReportsInDb()267 if (kernels_to_sort.size() > kMaxNumOfKernels) { in CopyTopKDurationKernelReportsToDb()269 kernels_to_sort.begin() + kMaxNumOfKernels, comp); in CopyTopKDurationKernelReportsToDb()275 std::min(kMaxNumOfKernels, static_cast<int>(kernels_to_sort.size())); in CopyTopKDurationKernelReportsToDb()