1 #ifndef GAUDIKERNEL_CHRONOENTITY_H
2 #define GAUDIKERNEL_CHRONOENTITY_H 1
48 inline unsigned long nOfMeasurements ()
const ;
51 inline double uMinimalTime ()
const ;
53 inline double kMinimalTime ()
const ;
55 inline double eMinimalTime ()
const ;
57 inline double uMaximalTime ()
const ;
59 inline double kMaximalTime ()
const ;
61 inline double eMaximalTime ()
const ;
63 inline double uTotalTime ()
const ;
65 inline double kTotalTime ()
const ;
67 inline double eTotalTime ()
const ;
69 inline double totalTime ()
const ;
71 inline double kMeanTime ()
const ;
73 inline double uMeanTime ()
const ;
75 inline double eMeanTime ()
const ;
77 inline double kRMSTime ()
const ;
79 inline double uRMSTime ()
const ;
81 inline double eRMSTime ()
const ;
83 inline double kMeanErrorTime ()
const ;
85 inline double uMeanErrorTime ()
const ;
87 inline double eMeanErrorTime ()
const ;
97 std::string outputUserTime ()
const ;
99 std::string outputSystemTime ()
const ;
101 std::string outputElapsedTime ()
const ;
111 inline std::string outputUserTime
112 (
const std::string& fmt ,
120 inline std::string outputSystemTime
121 (
const std::string& fmt ,
129 inline std::string outputElapsedTime
130 (
const std::string& fmt ,
151 std::string outputTime
153 const std::string& fmt ,
160 (
const double total ,
161 const double minimal ,
164 const double maximal ,
165 const unsigned long number )
const ;
199 {
return m_user . flagMin () ; }
303 default :
return result;
317 (
const std::string& fmt ,
332 (
const std::string& fmt ,
347 (
const std::string& fmt ,
355 #endif // GAUDIKERNEL_CHRONOENTITY_H
std::string outputElapsedTime() const
print the chrono ;
double kMaximalTime() const
maximal measurement for kernel time
double uMinimalTime() const
minimal measurement for user time
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
IChronoSvc::ChronoStatus m_status
current status of this chrono object;
double uTotalTime() const
total user time
StatEntity m_elapsed
the actual storage of "elapsed" time
double kMeanErrorTime() const
error in mean Kernel time
a small helper class for implementation of ChronoStatSvc service, It also could be used as some local...
TimeValueType kernelTime() const
Retrieve the kernel time in the requested unit.
double kTotalTime() const
total Kernel time
TimeValueType userTime() const
Retrieve the user time in the requested unit.
StatEntity m_user
the actual storage of "user" time
double uRMSTime() const
r.m.s User Time
double kMinimalTime() const
minimal measurement for kernel time
double eMinimalTime() const
minimal measurement for elapsed time
double kRMSTime() const
r.m.s Kernel Time
std::string outputSystemTime() const
print the chrono ;
System::ProcessTime m_start
start stamp for current measurement of process times
System::ProcessTime m_delta
delta process times
double kMeanTime() const
average Kernel Time
double eMeanTime() const
average Elapsed Time
TimeType
Time type for conversion.
IChronoSvc::ChronoStatus status() const
return the status of chrono
StatEntity m_kernel
the actual storage of "kernel" time
Simple class to hold the time information of a process.
double eRMSTime() const
r.m.s Elapsed Time
double eMeanErrorTime() const
error in mean Elapsed time
double ChronoTime
Type of the delta-time.
double uMeanTime() const
average User Time
std::string outputUserTime() const
print the chrono ;
double totalTime() const
total time
TimeValueType elapsedTime() const
Retrieve the elapsed time in the requested unit.
double eMaximalTime() const
maximal measurement for elapsed time
static const System::TimeType TimeUnit
internal unit used for the system time conversion (microseconds)
unsigned long nOfMeasurements() const
number of chrono measurements
The basic counter used for Monitoring purposes.
double uMaximalTime() const
maximal measurement for user time
bool operator<(const Gaudi::Time &t1, const Gaudi::Time &t2)
double eTotalTime() const
total Elapsed time
~ChronoEntity()
destructor
IChronoSvc::ChronoTime delta(IChronoSvc::ChronoType type) const
return the last delta-time of type "type"
double uMeanErrorTime() const
error in mean User time