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

Detailed Description

Atomic counter of type T with relaxed memory ordering.

Definition in file relaxed_counter.hpp.

Go to the source code of this file.

#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:

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)
 

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.