4#ifndef CBM_ALGO_BASE_UTIL_TIMINGSFORMAT_H
5#define CBM_ALGO_BASE_UTIL_TIMINGSFORMAT_H
23 std::string
MakeReport(std::string_view title,
const xpu::timings& t,
size_t align = 40);
28 std::string
MakeReportSubtimers(std::string_view title,
const xpu::timings& t,
size_t align = 40);
33 std::string
MakeReportSummary(std::string_view,
const xpu::timings& t,
size_t align = 40);
std::string MakeReportSubtimers(std::string_view title, const xpu::timings &t, size_t align)
Print timings from subtimers.
std::string MakeReportYaml(const xpu::timings &t)
Print timings in YAML format.
std::string MakeReport(std::string_view title, const xpu::timings &t, size_t align)
Print timings from top-level times and subtimers.
std::string MakeReportSummary(std::string_view title, const xpu::timings &t, size_t align)
Only print the top-level times (Elapsed time, total kernel time, memcpy and memset times)....