A thread-safe event counter.
More...
#include <profile.h>
A thread-safe event counter.
Definition at line 247 of file profile.h.
◆ PROF_COUNTER() [1/2]
PROF_COUNTER::PROF_COUNTER |
( |
| ) |
|
|
inline |
◆ PROF_COUNTER() [2/2]
PROF_COUNTER::PROF_COUNTER |
( |
const std::string & |
aName | ) |
|
|
inline |
◆ Count()
unsigned long long PROF_COUNTER::Count |
( |
| ) |
const |
|
inline |
◆ operator++()
unsigned long long PROF_COUNTER::operator++ |
( |
int |
| ) |
|
|
inline |
◆ Reset()
void PROF_COUNTER::Reset |
( |
| ) |
|
|
inline |
◆ Show()
void PROF_COUNTER::Show |
( |
std::ostream & |
aStream = std::cerr | ) |
|
|
inline |
◆ m_count
std::atomic_ullong PROF_COUNTER::m_count |
|
private |
◆ m_name
std::string PROF_COUNTER::m_name |
|
private |
The documentation for this class was generated from the following file: