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
static struct timeval setTime_()
Definition: TimeOfDay.cc:24
struct timeval tv_
Definition: TimeOfDay.h:14
HLT enums.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.