CbmRoot
Loading...
Searching...
No Matches
TimingsFormat.h File Reference
#include "Definitions.h"
#include <string>
#include <string_view>
Include dependency graph for TimingsFormat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  xpu
 
namespace  cbm
 
namespace  cbm::algo
 

Functions

std::string cbm::algo::MakeReport (std::string_view title, const xpu::timings &t, size_t align=40)
 Print timings from top-level times and subtimers.
 
std::string cbm::algo::MakeReportSubtimers (std::string_view title, const xpu::timings &t, size_t align=40)
 Print timings from subtimers.
 
std::string cbm::algo::MakeReportSummary (std::string_view, const xpu::timings &t, size_t align=40)
 Only print the top-level times (Elapsed time, total kernel time, memcpy and memset times). Disregard subtimers and kernel times.
 
std::string cbm::algo::MakeReportYaml (const xpu::timings &t)
 Print timings in YAML format.