userver: userver/utils/statistics/rate_counter.hpp File Reference
Loading...
Searching...
No Matches
rate_counter.hpp File Reference

Detailed Description

Atomic counter of type Rate with relaxed memory ordering by default.

Definition in file rate_counter.hpp.

Go to the source code of this file.

#include <atomic>
#include <userver/utils/statistics/rate.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

class  utils::statistics::RateCounter
 Atomic counter of type Rate with relaxed memory ordering by default. More...
 

Namespaces

namespace  utils
 General-purpose utilities used across userver libraries.
 
namespace  utils::statistics
 Statistics writers, metric types, and histogram helpers.
 

Functions

void utils::statistics::DumpMetric (Writer &writer, const RateCounter &value)
 
void utils::statistics::ResetMetric (RateCounter &value)