6 #ifndef PixelTimeFormatter_h 7 #define PixelTimeFormatter_h 34 std::cout <<
"[PixelTimeFormatter::PixelTimeFormatter()]\t\t Time counter started for " <<
origin_ << std::endl ;
46 std::cout <<
"[PixelTimeFormatter::stopTimer()]\t\t\t Elapsed time: " << stop-start <<
" seconds for " <<
origin_ << std::endl ;
52 std::ofstream *out1 =
NULL,
53 std::ofstream *out2 =
NULL 64 thisTime = localtime( &aclock );
67 "%d-%02d-%02d %02d:%02d:%02d", thisTime->tm_year+1900,
84 thisTime = localtime( &aclock );
92 struct timeval msecTime;
93 gettimeofday(&msecTime, (
struct timezone *)0) ;
97 (
unsigned int)msecTime.tv_sec,
98 (
unsigned int)msecTime.tv_usec );
105 struct timeval msecTime;
106 gettimeofday(&msecTime, (
struct timezone *)0) ;
return(e1-e2)*(e1-e2)+dp *dp
static std::string const source