Skip to content
Snippets Groups Projects
Commit a1e7fca6 authored by Felix Weiglhofer's avatar Felix Weiglhofer Committed by Dominik Smith
Browse files

TimingsFormat: Add docstrings.

parent 282f8dbb
No related branches found
No related tags found
1 merge request!1219algo: Unpack TOF and STS in parallel.
Pipeline #23081 passed
......@@ -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
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment