55 clock_t finish = clock();
65 time_t finish = time(NULL) + time2Finish;
70 ss.seekp((
long)ss.tellp()-1);
72 ss <<
" (" << time2Finish/3600 <<
"h)";
Mdouble getTime2Finish(Mdouble t)
void set(Mdouble t, Mdouble tmax)
Allows timing of algorithms; accurate up to 0.01 sec.
std::string getFinishTime(Mdouble t)
estimates the time in seconds when tmax should be reached