6 #ifndef PixelTimeFormatter_h 7 #define PixelTimeFormatter_h 36 std::cout <<
"[PixelTimeFormatter::PixelTimeFormatter()]\t\t Time counter started for " <<
origin_ << std::endl ;
48 std::cout <<
"[PixelTimeFormatter::stopTimer()]\t\t\t Elapsed time: " << stop-start <<
" seconds for " <<
origin_ << std::endl ;
54 std::ofstream *out1 =
nullptr,
55 std::ofstream *out2 =
nullptr 66 thisTime = localtime( &aclock );
69 "%d-%02d-%02d %02d:%02d:%02d", thisTime->tm_year+1900,
86 thisTime = localtime( &aclock );
94 struct timeval msecTime;
95 gettimeofday(&msecTime, (
struct timezone *)
nullptr) ;
99 (
unsigned int)msecTime.tv_sec,
100 (
unsigned int)msecTime.tv_usec );
107 struct timeval msecTime;
108 gettimeofday(&msecTime, (
struct timezone *)
nullptr) ;
This class implements the configuration key which actually just is an integer.
return(e1-e2)*(e1-e2)+dp *dp
static std::string const source