LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Classes | |
class | type |
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 | |
static constexpr duration_t | toDuration (TimeInterval dt) |
Converts a std::chrono::duration into our duration metric. More... | |
static constexpr auto | periodToDuration () |
Returns the duration (duration_t ) of a period type. More... | |
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; if the unit is more precise than the clock, random padding fills the gap
Definition at line 244 of file GeneratedEventTimestamp_plugin.cc.
|
inherited |
Type of the time duration as returned by this class.
Definition at line 110 of file GeneratedEventTimestamp_plugin.cc.
|
staticinherited |
Computes an approximation of the offset of the current time from the epoch.
|
inlineinherited |
Reads and returns the current time the clock.
Definition at line 113 of file GeneratedEventTimestamp_plugin.cc.
|
inlinestaticprotectedinherited |
Returns the duration (duration_t
) of a period type.
Definition at line 134 of file GeneratedEventTimestamp_plugin.cc.
|
inlinestaticinherited |
Reads and returns the current time the clock.
Definition at line 116 of file GeneratedEventTimestamp_plugin.cc.
|
inlinestaticprotectedinherited |
Returns the time elapsed from the epoch to t
.
Definition at line 139 of file GeneratedEventTimestamp_plugin.cc.
|
inlinestaticprotectedinherited |
Converts a std::chrono::duration
into our duration metric.
Definition at line 126 of file GeneratedEventTimestamp_plugin.cc.