Timing Class Reference

provides a timer for diagnostic purposes More...

#include <Timing.h>

Public Member Functions

 Timing (void)
 
 ~Timing (void)
 
std::string yyyymmddhhmm (void)
 returns the time as year month day hour minute More...
 
std::string yyyymmddhhmmss (void)
 returns the time as year month day hour minute second More...
 
std::string hhmmss (void)
 
int now (void)
 
void restart (void)
 post: elapsed()==0 More...
 
double elapsed (void) const
 return wall-clock elapsed time in seconds More...
 

Detailed Description

provides a timer for diagnostic purposes

#include "Timing.h"

Remarks
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

◆ Timing()

Timing::Timing ( void  )

◆ ~Timing()

Timing::~Timing ( void  )

Member Function Documentation

◆ elapsed()

double Timing::elapsed ( void  ) const

return wall-clock elapsed time in seconds

◆ hhmmss()

std::string Timing::hhmmss ( void  )

◆ now()

int Timing::now ( void  )

◆ restart()

void Timing::restart ( void  )

post: elapsed()==0

◆ yyyymmddhhmm()

std::string Timing::yyyymmddhhmm ( void  )

returns the time as year month day hour minute

◆ yyyymmddhhmmss()

std::string Timing::yyyymmddhhmmss ( void  )

returns the time as year month day hour minute second


The documentation for this class was generated from the following file: