21 std::string&
name() {
return m_name; }
23 float elapsed(
void )
const {
return (m_started? 0.0 : m_elapsed);}
25 double mean(
void )
const {
return m_mean;}
26 double rms(
void )
const {
27 double var = m_ms - m_mean*m_mean;
28 return (var > 0 ? sqrt(var) : 0.0);
37 inline unsigned int propVal() {
return m_propVal;}
38 inline void propVal(
unsigned int val) { m_propVal = val; }
56 struct timeval m_startTime;
60 int m_numberOfMeasurements;
63 std::string m_propName;
64 unsigned int m_propVal;
66 double m_meanTimePerObject;
67 int m_NmeanTimePerObject;
void propName(std::string name)
int number_of_measurements(void) const
BesTimer(const std::string name)
double meanTimePerObject()
float elapsed(void) const
void propVal(unsigned int val)
bool operator<(BesTimer &it)