52 <<
format(
"| %9.3f | %9.3f | %8.3f %9.1f | %7d | %9.3f |",
58 if ( size < 21 ) size = 21;
59 const std::string blank( size - 20,
' ' );
61 "Algorithm" + blank +
"(millisec) | <user> | <clock> |" +
62 " 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(...)".