MercuryTime.h File Reference
#include <ctime>
#include <cstring>
#include <sstream>
#include <chrono>
#include <cmath>
#include "GeneralDefine.h"
#include "Logger.h"

Go to the source code of this file.

Classes

class  Time
 Allows for timing the algorithms; accurate up to 0.01 sec. More...
 
class  Time2Finish
 Estimates the total time, in seconds, left to reach the end of any simulation. First, the class needs to be initialized by calling set. After the class is initialized, an estimate of the total remaining time of the simulation can be found by calling getTime2Finish. The estimate is based on rate at which the simulation time progressed since initialization. More...