MCPcopy Create free account
hub / github.com/apache/trafficserver / ConsoleReporter

Method ConsoleReporter

lib/catch2/catch.hpp:16445–16467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16443};
16444
16445ConsoleReporter::ConsoleReporter(ReporterConfig const& config)
16446 : StreamingReporterBase(config),
16447 m_tablePrinter(new TablePrinter(config.stream(),
16448 [&config]() -> std::vector<ColumnInfo> {
16449 if (config.fullConfig()->benchmarkNoAnalysis())
16450 {
16451 return{
16452 { "benchmark name", CATCH_CONFIG_CONSOLE_WIDTH - 43, ColumnInfo::Left },
16453 { " samples", 14, ColumnInfo::Right },
16454 { " iterations", 14, ColumnInfo::Right },
16455 { " mean", 14, ColumnInfo::Right }
16456 };
16457 }
16458 else
16459 {
16460 return{
16461 { "benchmark name", CATCH_CONFIG_CONSOLE_WIDTH - 43, ColumnInfo::Left },
16462 { "samples mean std dev", 14, ColumnInfo::Right },
16463 { "iterations low mean low std dev", 14, ColumnInfo::Right },
16464 { "estimated high mean high std dev", 14, ColumnInfo::Right }
16465 };
16466 }
16467 }())) {}
16468ConsoleReporter::~ConsoleReporter() = default;
16469
16470std::string ConsoleReporter::getDescription() {

Callers

nothing calls this directly

Calls 2

benchmarkNoAnalysisMethod · 0.80
fullConfigMethod · 0.80

Tested by

no test coverage detected