walberla::timing::RemainingTimeLogger Class Reference

#include <RemainingTimeLogger.h>

Public Member Functions

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

Private Attributes

WcTimer timer_
 
double timeSinceLastLog_
 
double logIntervalInSec_
 
uint_t timestep_
 
uint_t nrTimesteps_
 
int minOutputWidth_
 
bool firstRun_
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

bool walberla::timing::RemainingTimeLogger::firstRun_
private
double walberla::timing::RemainingTimeLogger::logIntervalInSec_
private
int walberla::timing::RemainingTimeLogger::minOutputWidth_
private
uint_t walberla::timing::RemainingTimeLogger::nrTimesteps_
private
WcTimer walberla::timing::RemainingTimeLogger::timer_
private
double walberla::timing::RemainingTimeLogger::timeSinceLastLog_
private
uint_t walberla::timing::RemainingTimeLogger::timestep_
private

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