TicToc profiling.
More...
#include <debug.h>
|
| | TicToc (State &state) |
| | ~TicToc () |
| | Update the state with the time since the constructor call.
|
|
| static void | Tick (const std::string_view prefix) |
TicToc profiling.
Usage for max_count based output: static TicToc::State state("A name", 1); TicToc tt(state); –Do your code–
Usage for per-tick output: static TicToc::State state("A name"); TicToc tt(state); –Do your code–
Definition at line 74 of file debug.h.
◆ TicToc()
| TicToc::TicToc |
( |
State & | state | ) |
|
|
inline |
◆ ~TicToc()
Update the state with the time since the constructor call.
Definition at line 116 of file debug.h.
◆ Tick()
| void TicToc::Tick |
( |
const std::string_view | prefix | ) |
|
|
inlinestatic |
◆ chrono_start
| std::chrono::high_resolution_clock::time_point TicToc::chrono_start |
real time count.
Definition at line 111 of file debug.h.
◆ state
The documentation for this struct was generated from the following file: