walberla::timing::RemainingTimeLogger Class Reference

#include <RemainingTimeLogger.h>

Public Member Functions

 RemainingTimeLogger (const uint_t nrTimesteps, const real_t logIntervalInSec=10, const int minOutputWidth=8, const uint_t startTimestep=0)
 
void operator() ()
 

Private Attributes

WcTimer timer_
 
real_t timeSinceLastLog_ { 0.0 }
 
real_t logIntervalInSec_
 
uint_t timestep_
 
uint_t nrTimesteps_
 
int minOutputWidth_
 
bool firstRun_ { true }
 

Constructor & Destructor Documentation

◆ RemainingTimeLogger()

walberla::timing::RemainingTimeLogger::RemainingTimeLogger ( const uint_t  nrTimesteps,
const real_t  logIntervalInSec = 10,
const int  minOutputWidth = 8,
const uint_t  startTimestep = 0 
)
inline

Member Function Documentation

◆ operator()()

void walberla::timing::RemainingTimeLogger::operator() ( )
inline

Member Data Documentation

◆ firstRun_

bool walberla::timing::RemainingTimeLogger::firstRun_ { true }
private

◆ logIntervalInSec_

real_t walberla::timing::RemainingTimeLogger::logIntervalInSec_
private

◆ minOutputWidth_

int walberla::timing::RemainingTimeLogger::minOutputWidth_
private

◆ nrTimesteps_

uint_t walberla::timing::RemainingTimeLogger::nrTimesteps_
private

◆ timer_

WcTimer walberla::timing::RemainingTimeLogger::timer_
private

◆ timeSinceLastLog_

real_t walberla::timing::RemainingTimeLogger::timeSinceLastLog_ { 0.0 }
private

◆ timestep_

uint_t walberla::timing::RemainingTimeLogger::timestep_
private

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