perfc 0.11.0
Loading...
Searching...
No Matches
register.hpp File Reference

Implementation of the counter register perfc::Register. More...

#include <algorithm>
#include <cstdint>
#include <functional>
#include <mutex>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

struct  perfc::CounterTypes< CounterType >
 Helper used when declaring counter types in perfc::Register. More...
 
class  perfc::Locked< T, Mutex >
 Simple type that provide synchronized access by holding a lock to T container. More...
 
class  perfc::ScopedRegistration
 RAII object to manage automatic deregistration. More...
 
class  perfc::Register< CounterTypes, TMetadata, TMutex >
 Register of counter variants, used for example to facilitate discovery/monitoring. More...
 
struct  perfc::Register< CounterTypes, TMetadata, TMutex >::Entry
 Register entry representing the counter and associated metadata. More...
 

Namespaces

namespace  perfc
 

Detailed Description

Implementation of the counter register perfc::Register.

Definition in file register.hpp.