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 62 char theDate[kBufferLength] ;
67 thisTime = localtime( &aclock );
71 "%d-%02d-%02d %02d:%02d:%02d", thisTime->tm_year+1900,
88 thisTime = localtime( &aclock );
96 char theDate[kBufferSize] ;
97 struct timeval msecTime;
98 gettimeofday(&msecTime, (
struct timezone *)
nullptr) ;
103 (
unsigned int)msecTime.tv_sec,
104 (
unsigned int)msecTime.tv_usec );
111 struct timeval msecTime;
112 gettimeofday(&msecTime, (
struct timezone *)
nullptr) ;
This class implements the configuration key which actually just is an integer.
static std::string const source