SummaryEvent Struct Reference#

DiFfRG: DiFfRG::SummaryEvent Struct Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::SummaryEvent Struct Reference

#include <run_reporter.hh>

Public Member Functions

SummaryEvent & timing (const std::string_view name, const double average_ms, const std::size_t calls)
 

Public Attributes

std::string_view component
 
std::array< SummaryMetric, 4 > metrics {}
 
std::size_t metric_count = 0
 

Detailed Description

A compact component summary. Metric names and the component name must have static storage duration.

Member Function Documentation

◆ timing()

SummaryEvent & DiFfRG::SummaryEvent::timing ( const std::string_view name,
const double average_ms,
const std::size_t calls )
inline

Member Data Documentation

◆ component

std::string_view DiFfRG::SummaryEvent::component

◆ metric_count

std::size_t DiFfRG::SummaryEvent::metric_count = 0

◆ metrics

std::array<SummaryMetric, 4> DiFfRG::SummaryEvent::metrics {}

The documentation for this struct was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/run_reporter.hh