Class reading a Clock and converting the value to a specific Unit.  
 More...
| Public Types | |
| using | duration_t = art::TimeValue_t | 
| Type of the time duration as returned by this class.  More... | |
| Public Member Functions | |
| duration_t | operator() () | 
| Reads and returns the current time the clock.  More... | |
| Static Public Member Functions | |
| static duration_t | read_clock () | 
| Reads and returns the current time the clock.  More... | |
| static duration_t | currentOffsetFromEpoch () | 
| Static Protected Member Functions | |
| template<typename TimeInterval > | |
| static constexpr duration_t | toDuration (TimeInterval dt) | 
| Converts a std::chrono::durationinto our duration metric.  More... | |
| template<typename Rep , typename Period > | |
| static constexpr auto | periodToDuration () | 
| Returns the duration ( duration_t) of a period type.  More... | |
| template<typename TimePoint > | |
| static duration_t | timeFromEpoch (TimePoint t) | 
| Returns the time elapsed from the epoch to t.  More... | |
Class reading a Clock and converting the value to a specific Unit. 
Definition at line 110 of file GeneratedEventTimestamp_plugin.cc.
| using evgen::details::TimeInUnitsBase< Clock, Unit >::duration_t = art::TimeValue_t | 
Type of the time duration as returned by this class.
Definition at line 114 of file GeneratedEventTimestamp_plugin.cc.
| 
 | static | 
Computes an approximation of the offset of the current time from the epoch.
Definition at line 150 of file GeneratedEventTimestamp_plugin.cc.
| 
 | inline | 
Reads and returns the current time the clock.
Definition at line 117 of file GeneratedEventTimestamp_plugin.cc.
| 
 | inlinestaticprotected | 
Returns the duration (duration_t) of a period type. 
Definition at line 138 of file GeneratedEventTimestamp_plugin.cc.
| 
 | inlinestatic | 
Reads and returns the current time the clock.
Definition at line 120 of file GeneratedEventTimestamp_plugin.cc.
| 
 | inlinestaticprotected | 
Returns the time elapsed from the epoch to t. 
Definition at line 143 of file GeneratedEventTimestamp_plugin.cc.
| 
 | inlinestaticprotected | 
Converts a std::chrono::duration into our duration metric. 
Definition at line 130 of file GeneratedEventTimestamp_plugin.cc.
 1.8.11
 1.8.11