OpenTTD Source 20241224-master-gee860a5c8e
|
#include <debug.h>
Data Structures | |
struct | State |
Persistent state for TicToc profiling. More... | |
Public Member Functions | |
TicToc (State &state) | |
Data Fields | |
State & | state |
std::chrono::high_resolution_clock::time_point | chrono_start |
real time count. | |
TicToc profiling.
Usage: static TicToc::State state("A name", 1); TicToc tt(state); –Do your code–
std::chrono::high_resolution_clock::time_point TicToc::chrono_start |