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 ;
55 thisTime = localtime( &aclock );
58 "%d-%02d-%02d %02d:%02d:%02d", thisTime->tm_year+1900,
75 thisTime = localtime( &aclock );
83 struct timeval msecTime;
84 gettimeofday(&msecTime, (
struct timezone *)0) ;
88 (
unsigned int)msecTime.tv_sec,
89 (
unsigned int)msecTime.tv_usec );
96 struct timeval msecTime;
97 gettimeofday(&msecTime, (
struct timezone *)0) ;
tuple start
Check for commandline option errors.
return(e1-e2)*(e1-e2)+dp *dp
static std::string const source