CalcDtTimer Struct Reference#

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

Stopwatch feeding structured progress durations. More...

#include <abstract_timestepper.hh>

Public Member Functions

double lap ()
 

Public Attributes

std::chrono::high_resolution_clock::time_point mark = std::chrono::high_resolution_clock::now()
 

Detailed Description

Stopwatch feeding structured progress durations.

lap() returns the milliseconds elapsed since construction or the previous lap() and re-arms, so consecutive operations inside one callback (residual, jacobian construction, jacobian inversion, linear solve) each report their own duration rather than a cumulative total.

Member Function Documentation

◆ lap()

double DiFfRG::CalcDtTimer::lap ( )
inline

Member Data Documentation

◆ mark

std::chrono::high_resolution_clock::time_point DiFfRG::CalcDtTimer::mark = std::chrono::high_resolution_clock::now()

The documentation for this struct was generated from the following file: