51 <<
format(
"| %9.3f | %9.3f | %8.3f %9.1f | %7d | %9.3f |",
57 return "Algorithm" + std::string( std::max(std::string::size_type(21),size) - 20,
' ' )
58 +
"(millisec) | <user> | <clock> |"
59 +
" min max | entries | total (s) |";
Definition of the MsgStream class used to transmit messages.
MsgStream & fillStream(MsgStream &s) const
Write measured time into the message stream.
static std::string header(std::string::size_type size)
header matching the previous format
double stop()
Stop time measurement and return the last elapsed time.
GAUDI_API longlong currentTime(TimeType typ=milliSec)
Retrieve absolute system time.
double lastTime() const
returns the last measured time
GAUDI_API longlong cpuTime(TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
Consumed CPU time of process in milliseconds.
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".