Class SteadyTimestamp

Class Documentation

class opentelemetry::core::SteadyTimestamp

Represents a timepoint relative to the monotonic clock epoch

Public Functions

inline SteadyTimestamp() noexcept
template<class Rep, class Period>
inline explicit SteadyTimestamp(const std::chrono::duration<Rep, Period> &time_since_epoch) noexcept
inline SteadyTimestamp(const std::chrono::steady_clock::time_point &time_point) noexcept
inline operator std::chrono::steady_clock::time_point() const noexcept
inline std::chrono::nanoseconds time_since_epoch() const noexcept
Returns

the amount of time that has passed since the monotonic clock epoch

inline bool operator==(const SteadyTimestamp &other) const noexcept
inline bool operator!=(const SteadyTimestamp &other) const noexcept