CbmRoot
Loading...
Searching...
No Matches
TimingsFormat.cxx File Reference
#include "TimingsFormat.h"
#include <iomanip>
#include <sstream>
#include <fmt/format.h>
#include <xpu/host.h>
#include <yaml-cpp/emitter.h>
Include dependency graph for TimingsFormat.cxx:

Go to the source code of this file.

Classes

class  cbm::algo::TimingsFormat
 

Namespaces

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.