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

Atomic counter of type T with relaxed memory ordering. More...

#include <atomic>
#include <userver/utils/statistics/fwd.hpp>
+ Include dependency graph for relaxed_counter.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utils::statistics::RelaxedCounter< T >
 Atomic counter of type T with relaxed memory ordering. More...
 

Namespaces

namespace  utils
 Utilities.
 

Functions

template<typename T >
void utils::statistics::DumpMetric (Writer &writer, const RelaxedCounter< T > &value)
 

Detailed Description

Atomic counter of type T with relaxed memory ordering.

Definition in file relaxed_counter.hpp.

Function Documentation

◆ DumpMetric()

template<typename T >
void utils::statistics::DumpMetric ( Writer writer,
const RelaxedCounter< T > &  value 
)

Definition at line 80 of file relaxed_counter.hpp.