Persistent state for TicToc profiling.
More...
#include <debug.h>
|
| State (std::string_view name, std::optional< uint32_t > max_count={}) |
|
void | OutputAndReset (const std::string_view prefix="") |
|
Persistent state for TicToc profiling.
Definition at line 76 of file debug.h.
◆ States
using TicToc::State::States = std::vector<State *> |
◆ State()
TicToc::State::State |
( |
std::string_view |
name, |
|
|
std::optional< uint32_t > |
max_count = {} |
|
) |
| |
|
inline |
◆ ~State()
TicToc::State::~State |
( |
| ) |
|
|
inline |
◆ GetStates()
static States & TicToc::State::GetStates |
( |
| ) |
|
|
inlinestatic |
◆ OutputAndReset()
void TicToc::State::OutputAndReset |
( |
const std::string_view |
prefix = "" | ) |
|
|
inline |
◆ chrono_sum
uint64_t TicToc::State::chrono_sum = 0 |
◆ count
uint32_t TicToc::State::count = 0 |
◆ max_count
const std::optional<uint32_t> TicToc::State::max_count |
◆ name
const std::string_view TicToc::State::name |
The documentation for this struct was generated from the following file: