|
HikoGUI
A low latency retained GUI
|
Public Member Functions | |
| counter (counter const &)=delete | |
| counter (counter &&)=delete | |
| counter & | operator= (counter const &)=delete |
| counter & | operator= (counter &&)=delete |
| operator uint64_t () const noexcept | |
| void | log (std::string const &tag) noexcept |
| Log the counter. | |
| uint64_t | operator++ () noexcept |
| uint64_t | operator++ (int) noexcept |
| uint64_t | operator-- () noexcept |
| uint64_t | operator-- (int) noexcept |
| void | add_duration (uint64_t duration) noexcept |
| Add a duration. | |
Static Public Member Functions | |
| static counter * | get_if (std::string const &name) noexcept |
| Get the named counter. | |
| static void | log () noexcept |
| static void | log_header () noexcept |
|
inlinenoexcept |
Add a duration.
|
inlinestaticnoexcept |
Get the named counter.
| name | The name of the counter. |
|
noexcept |
Log the counter.