Class SystemTimestamp¶
Defined in File timestamp.h
Class Documentation¶
-
class
opentelemetry::core
::
SystemTimestamp
¶ Represents a timepoint relative to the system clock epoch
Public Functions
-
inline
SystemTimestamp
() noexcept¶
-
template<class
Rep
, classPeriod
>
inline explicitSystemTimestamp
(const std::chrono::duration<Rep, Period> &time_since_epoch) noexcept¶
-
inline
SystemTimestamp
(const std::chrono::system_clock::time_point &time_point) noexcept¶
-
inline
operator std::chrono::system_clock::time_point
() const noexcept¶
-
inline std::chrono::nanoseconds
time_since_epoch
() const noexcept¶ - Returns
the amount of time that has passed since the system clock epoch
-
inline bool
operator==
(const SystemTimestamp &other) const noexcept¶
-
inline bool
operator!=
(const SystemTimestamp &other) const noexcept¶
-
inline