CMS 3D CMS Logo

TimeOfDay.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_TimeOfDay_h
2 #define FWCore_Utilities_TimeOfDay_h
3 
4 #include <sys/time.h>
5 #include <chrono>
6 #include <iosfwd>
7 
8 namespace edm {
9  struct TimeOfDay {
10  TimeOfDay();
11  explicit TimeOfDay(struct timeval const& tv);
12  explicit TimeOfDay(std::chrono::system_clock::time_point const& tp);
13 
14  struct timeval tv_;
15 
16  private:
17  static struct timeval setTime_();
18  };
19 
20  std::ostream& operator<<(std::ostream& os, TimeOfDay const& tod);
21 } // namespace edm
22 
23 #endif
edm::TimeOfDay::setTime_
static struct timeval setTime_()
Definition: TimeOfDay.cc:24
edm::TimeOfDay::TimeOfDay
TimeOfDay()
Definition: TimeOfDay.cc:14
edm::TimeOfDay
Definition: TimeOfDay.h:9
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition: HLTGlobalStatus.h:106
cmsswSequenceInfo.tp
tp
Definition: cmsswSequenceInfo.py:17
edm::TimeOfDay::tv_
struct timeval tv_
Definition: TimeOfDay.h:14