96 std::string outputUserTime()
const;
98 std::string outputSystemTime()
const;
100 std::string outputElapsedTime()
const;
108 std::string outputUserTime( std::string_view fmt,
System::TimeType unit )
const;
115 std::string outputSystemTime( std::string_view fmt,
System::TimeType unit )
const;
122 std::string outputElapsedTime( std::string_view fmt,
System::TimeType unit )
const;
145 std::string
format(
const double total,
const double minimal,
const double mean,
const double rms,
146 const double maximal,
const unsigned long number )
const;
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
a small helper class for implementation of ChronoStatSvc service, It also could be used as some local...
std::string outputSystemTime() const
print the chrono ;
double kMaximalTime() const
maximal measurement for kernel time
std::string outputTime(IChronoSvc::ChronoType typ, std::string_view fmt, System::TimeType unit) const
print the chrono according the format and units
double uMeanErrorTime() const
error in mean User time
double kTotalTime() const
total Kernel time
System::ProcessTime m_start
start stamp for current measurement of process times
double eMinimalTime() const
minimal measurement for elapsed time
IChronoSvc::ChronoTime delta(IChronoSvc::ChronoType type) const
return the last delta-time of type "type"
IChronoSvc::ChronoStatus start()
start the current chrono
ChronoEntity()=default
default constructor
IChronoSvc::ChronoStatus stop()
stop the chrono
double eMeanTime() const
average Elapsed Time
IChronoSvc::ChronoStatus status() const
return the status of chrono
double kMeanErrorTime() const
error in mean Kernel time
double uMeanTime() const
average User Time
double uMaximalTime() const
maximal measurement for user time
unsigned long nOfMeasurements() const
number of chrono measurements
double uTotalTime() const
total user time
StatEntity m_elapsed
the actual storage of "elapsed" time
double uRMSTime() const
r.m.s User Time
static const System::TimeType TimeUnit
internal unit used for the system time conversion (microseconds)
StatEntity m_kernel
the actual storage of "kernel" time
double eMaximalTime() const
maximal measurement for elapsed time
System::ProcessTime m_delta
delta process times
double kMinimalTime() const
minimal measurement for kernel time
double totalTime() const
total time
std::string outputElapsedTime() const
print the chrono ;
friend bool operator<(ChronoEntity const &lhs, ChronoEntity const &rhs)
comparison operator
StatEntity m_user
the actual storage of "user" time
double kMeanTime() const
average Kernel Time
double uMinimalTime() const
minimal measurement for user time
double eTotalTime() const
total Elapsed time
double eRMSTime() const
r.m.s Elapsed Time
std::string outputUserTime() const
print the chrono ;
double eMeanErrorTime() const
error in mean Elapsed time
IChronoSvc::ChronoStatus m_status
current status of this chrono object;
double kRMSTime() const
r.m.s Kernel Time
double ChronoTime
Type of the delta-time.
backward compatible StatEntity class.
Simple class to hold the time information of a process.
TimeType
Time type for conversion.