OpenTTD Source: TicToc Struct Reference

OpenTTD Source 14.0-beta3

Data Structures | Public Member Functions | Data Fields
TicToc Struct Reference

TicToc profiling. More...

`#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.

## Detailed Description

TicToc profiling.

Usage: static TicToc::State state("A name", 1); TicToc tt(state); –Do your code–

Definition at line 72 of file debug.h.

The documentation for this struct was generated from the following file:

- src/debug.h