Atomic 64-bit signed gauge metric representing instantaneous level.
More...
#include <Metrics.hpp>
|
| void | decrement (int64_t val=1) noexcept |
| | Decrement gauge.
|
| |
| constexpr | Gauge (std::string_view name, std::string_view help="") noexcept |
| |
| int64_t | get () const noexcept |
| | Current gauge value.
|
| |
| std::string_view | help () const noexcept |
| |
| void | increment (int64_t val=1) noexcept |
| | Increment gauge.
|
| |
| std::string_view | name () const noexcept |
| |
| void | set (int64_t val) noexcept |
| | Set gauge to an absolute value.
|
| |
Atomic 64-bit signed gauge metric representing instantaneous level.
◆ Gauge()
| constexpr corium::profiler::Gauge::Gauge |
( |
std::string_view |
name, |
|
|
std::string_view |
help = "" |
|
) |
| |
|
inlineexplicitconstexprnoexcept |
◆ decrement()
| void corium::profiler::Gauge::decrement |
( |
int64_t |
val = 1 | ) |
|
|
inlinenoexcept |
◆ get()
| int64_t corium::profiler::Gauge::get |
( |
| ) |
const |
|
inlinenoexcept |
◆ help()
| std::string_view corium::profiler::Gauge::help |
( |
| ) |
const |
|
inlinenoexcept |
◆ increment()
| void corium::profiler::Gauge::increment |
( |
int64_t |
val = 1 | ) |
|
|
inlinenoexcept |
◆ name()
| std::string_view corium::profiler::Gauge::name |
( |
| ) |
const |
|
inlinenoexcept |
◆ set()
| void corium::profiler::Gauge::set |
( |
int64_t |
val | ) |
|
|
inlinenoexcept |
Set gauge to an absolute value.
The documentation for this class was generated from the following file: