CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/FWCore/Utilities/interface/TimeOfDay.h

Go to the documentation of this file.
00001 #ifndef FWCore_Utilities_TimeOfDay_h
00002 #define FWCore_Utilities_TimeOfDay_h
00003 
00004 #include <sys/time.h>
00005 #include <iosfwd>
00006 
00007 namespace edm {
00008   struct TimeOfDay {
00009     TimeOfDay();
00010     explicit TimeOfDay(struct timeval const& tv);
00011 
00012     struct timeval tv_;
00013   private:
00014     static struct timeval setTime_();
00015   };
00016 
00017   std::ostream&
00018   operator<<(std::ostream& os, TimeOfDay const& tod);
00019 }
00020 
00021 #endif