|
| static counter * | get_if (std::string const &name) noexcept |
| | Get the named counter.
|
| |
|
static void | log () noexcept |
| |
|
static void | log_header () noexcept |
| |
◆ add_duration()
| void tt::detail::counter::add_duration |
( |
uint64_t | duration | ) |
|
|
inlinenoexcept |
◆ get_if()
Get the named counter.
- Precondition
- main() must have been started.
- Parameters
-
| name | The name of the counter. |
- Returns
- A pointer to the counter, or nullptr if the counter is not found.
◆ log()
| void tt::detail::counter::log |
( |
std::string const & | tag | ) |
|
|
noexcept |
The documentation for this class was generated from the following file: