Histogram#
-
template<uint64_t N0, uint64_t N1, uint64_t N2, uint64_t N3, uint64_t N4, uint64_t N5>
struct Histogram : public roq::utils::metrics::detail::Base# -
Public Types
-
using value_type = uint64_t#
Public Functions
-
inline constexpr value_type threshold() const#
-
inline void prefetch() noexcept#
Prefetch data into L1 cache.
-
inline bool update(value_type value) noexcept#
Update histogram with specific value.
Public Members
-
value_type const threshold_0 = N0#
-
value_type const threshold_1 = N1#
-
value_type const threshold_2 = N2#
-
value_type const threshold_3 = N3#
-
value_type const threshold_4 = N4#
-
value_type const threshold_5 = N5#
-
using value_type = uint64_t#