Atomic counter of type Rate with relaxed memory ordering, increased memory consumption and decreased contention.
Definition in file striped_rate_counter.hpp.
Go to the source code of this file.
#include <atomic>
#include <cstdint>
#include <userver/concurrent/striped_counter.hpp>
#include <userver/utils/statistics/fwd.hpp>
#include <userver/utils/statistics/rate.hpp>
Classes | |
class | utils::statistics::StripedRateCounter |
Atomic counter of type Rate with relaxed memory ordering, increased memory consumption and decreased contention. More... | |
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
void | utils::statistics::DumpMetric (Writer &writer, const StripedRateCounter &value) |
void | utils::statistics::ResetMetric (StripedRateCounter &value) |