21 bool numIsFirst = ( 1ULL ==
m_num );
38 if ( 0ULL !=
m_num ) {
56 <<
format(
"| %9.3f | %9.3f | %8.3f %9.1f %8.2f | %7d | %9.3f |", cpu, ave,
min,
max, sigma,
m_num,
62 "(millisec) | <user> | <clock> |" +
" min max sigma | entries | total (s) |";
constexpr auto size(const T &, Args &&...) noexcept
Definition of the MsgStream class used to transmit messages.
static std::string header(std::string::size_type size)
header matching the previous format
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
uint64_t stop()
Stop time measurement and return the last elapsed time.
EventIDBase min(const EventIDBase &lhs, const EventIDBase &rhs)
unsigned long long uint64_t
EventIDBase max(const EventIDBase &lhs, const EventIDBase &rhs)
GAUDI_API long long currentTime()
Retrieve absolute system time.
GAUDI_API long long cpuTime(TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
Consumed CPU time of process in milliseconds.
auto sqrt(std::chrono::duration< Rep, Period > d)
sqrt for std::chrono::duration
MsgStream & fillStream(MsgStream &s) const
Write measured time into the message stream.
double lastTime() const
returns the last measured time