userver: userver/utils/statistics/striped_rate_counter.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
striped_rate_counter.hpp File Reference

Detailed Description

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>
+ Include dependency graph for striped_rate_counter.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)