SyTen

◆ shiftTime()

template<typename Out >
void syten::shiftTime ( Out &  out,
bool  timeonly = false 
)
inline

Shift the date and time as well as the used cpu time so far into the stream.

References std::clock(), std::chrono::duration_cast(), std::chrono::system_clock::from_time_t(), std::localtime(), std::chrono::system_clock::now(), std::scientific(), std::setprecision(), std::strftime(), and std::chrono::system_clock::to_time_t().

Referenced by syten::MPS::DMRG::Worker::logIter(), syten::MPS::DMRG::LBOWorker::logIter(), and operator<<().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: