Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_CHRONOENTITY_H
12 #define GAUDIKERNEL_CHRONOENTITY_H 1
55 unsigned long nOfMeasurements()
const;
58 double uMinimalTime()
const;
60 double kMinimalTime()
const;
62 double eMinimalTime()
const;
64 double uMaximalTime()
const;
66 double kMaximalTime()
const;
68 double eMaximalTime()
const;
70 double uTotalTime()
const;
72 double kTotalTime()
const;
74 double eTotalTime()
const;
76 double totalTime()
const;
78 double kMeanTime()
const;
80 double uMeanTime()
const;
82 double eMeanTime()
const;
84 double kRMSTime()
const;
86 double uRMSTime()
const;
88 double eRMSTime()
const;
90 double kMeanErrorTime()
const;
92 double uMeanErrorTime()
const;
94 double eMeanErrorTime()
const;
163 std::string format(
const double total,
const double minimal,
const double mean,
const double rms,
164 const double maximal,
const unsigned long number )
const;
321 #endif // GAUDIKERNEL_CHRONOENTITY_H
StatEntity m_user
the actual storage of "user" time
StatEntity m_elapsed
the actual storage of "elapsed" time
double eMinimalTime() const
minimal measurement for elapsed time
double ChronoTime
Type of the delta-time.
double uMinimalTime() const
minimal measurement for user time
double eRMSTime() const
r.m.s Elapsed Time
double totalTime() const
total time
double eMeanErrorTime() const
error in mean Elapsed time
backward compatible StatEntity class.
double eMeanTime() const
average Elapsed Time
TimeValueType kernelTime() const
Retrieve the kernel time in the requested unit.
IChronoSvc::ChronoTime delta(IChronoSvc::ChronoType type) const
return the last delta-time of type "type"
double eTotalTime() const
total Elapsed time
double kMinimalTime() const
minimal measurement for kernel time
TimeType
Time type for conversion.
System::ProcessTime m_delta
delta process times
unsigned long nOfMeasurements() const
number of chrono measurements
IChronoSvc::ChronoStatus m_status
current status of this chrono object;
double uMeanTime() const
average User Time
std::string outputSystemTime() const
print the chrono ;
double flagMeanErr() const
TimeValueType elapsedTime() const
Retrieve the elapsed time in the requested unit.
double kRMSTime() const
r.m.s Kernel Time
double kTotalTime() const
total Kernel time
std::string outputElapsedTime() const
print the chrono ;
double kMeanErrorTime() const
error in mean Kernel time
std::string outputUserTime() const
print the chrono ;
System::ProcessTime m_start
start stamp for current measurement of process times
Simple class to hold the time information of a process.
StatEntity m_kernel
the actual storage of "kernel" time
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
IChronoSvc::ChronoStatus status() const
return the status of chrono
friend bool operator<(ChronoEntity const &lhs, ChronoEntity const &rhs)
comparison operator
double kMaximalTime() const
maximal measurement for kernel time
double uRMSTime() const
r.m.s User Time
double kMeanTime() const
average Kernel Time
ChronoEntity()=default
default constructor
static const System::TimeType TimeUnit
internal unit used for the system time conversion (microseconds)
double uMaximalTime() const
maximal measurement for user time
double uMeanErrorTime() const
error in mean User time
TimeValueType userTime() const
Retrieve the user time in the requested unit.
std::string outputTime(IChronoSvc::ChronoType typ, std::string_view fmt, System::TimeType unit) const
print the chrono according the format and units
double eMaximalTime() const
maximal measurement for elapsed time
double uTotalTime() const
total user time