7 : tk(msg, starting_time)
15 ss <<
"Time: " <<
tk(msg,now) <<
"\n" 16 <<
"Memory: " <<
mu(msg,mumu);
void msg(const char *fmt,...)
std::string operator()(std::string msg="<tick>", TimeKeeper::ptime now=boost::posix_time::microsec_clock::local_time(), MemUsage::memusage mu=MemUsage::memusage(-1,-1))
Record an event.
boost::posix_time::ptime ptime
std::pair< double, double > memusage
std::string summary() const
Return summary up to now.
std::string summary() const
Return summary up to now.
ExecMon(const std::string &msg="start", TimeKeeper::ptime starting_time=boost::posix_time::microsec_clock::local_time())
std::string summary() const
Return summary up to now.