6 #ifndef PixelTimeFormatter_h 7 #define PixelTimeFormatter_h 34 std::cout <<
"[PixelTimeFormatter::PixelTimeFormatter()]\t\t Time counter started for " <<
origin_ << std::endl ;
44 std::cout <<
"[PixelTimeFormatter::stopTimer()]\t\t\t Elapsed time: " << stop-start <<
" seconds for " <<
origin_ << std::endl ;
50 std::ofstream *out1 =
NULL,
51 std::ofstream *out2 =
NULL 62 thisTime = localtime( &aclock );
65 "%d-%02d-%02d %02d:%02d:%02d", thisTime->tm_year+1900,
82 thisTime = localtime( &aclock );
90 struct timeval msecTime;
91 gettimeofday(&msecTime, (
struct timezone *)0) ;
95 (
unsigned int)msecTime.tv_sec,
96 (
unsigned int)msecTime.tv_usec );
103 struct timeval msecTime;
104 gettimeofday(&msecTime, (
struct timezone *)0) ;
return(e1-e2)*(e1-e2)+dp *dp
static std::string const source