TicToc profiling.
More...
#include <debug.h>
|
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()
◆ Tick()
static 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 110 of file debug.h.
◆ state
The documentation for this struct was generated from the following file: