diff --git a/algo/base/util/TimingsFormat.h b/algo/base/util/TimingsFormat.h index 9b8d5282c1a606ffb060a6fd9229895bcb746cf7..593c8cae3a0ed13198176d49aeaa1da578d2291b 100644 --- a/algo/base/util/TimingsFormat.h +++ b/algo/base/util/TimingsFormat.h @@ -16,8 +16,20 @@ namespace xpu namespace cbm::algo { + + /** + * @brief Print timings from top-level times and subtimers. + */ std::string MakeReport(std::string_view title, const xpu::timings& t, size_t align = 40); + + /** + * @brief Print timings from subtimers. + */ std::string MakeReportSubtimers(std::string_view title, const xpu::timings& t, size_t align = 40); + + /** + * @brief Only print the top-level times (Elapsed time, total kernel time, memcpy and memset times). Disregard subtimers and kernel times. + */ std::string MakeReportSummary(std::string_view, const xpu::timings& t, size_t align = 40); } // namespace cbm::algo diff --git a/algo/detectors/tof/TofReadoutConfig.cxx b/algo/detectors/tof/TofReadoutConfig.cxx index 8026523eab00c42ae0cd8aedf8ec45835be76f75..0682bc4252db7d7fc417e0f898dc9723f45904ad 100644 --- a/algo/detectors/tof/TofReadoutConfig.cxx +++ b/algo/detectors/tof/TofReadoutConfig.cxx @@ -172,7 +172,7 @@ namespace cbm::algo break; } case -1: { - LOG(warning) << " Found unused GBTX link at uCh = " << uCh; + L_(warning) << " Found unused GBTX link at uCh = " << uCh; uCh += 160; break; }