OpenTTD Source  20241121-master-g67a0fccfad
TicToc::State Struct Reference

Persistent state for TicToc profiling. More...

#include <debug.h>

Public Member Functions

constexpr State (std::string_view name, uint32_t max_count)
 

Data Fields

const std::string_view name
 
const uint32_t max_count
 
uint32_t count = 0
 
uint64_t chrono_sum = 0
 

Detailed Description

Persistent state for TicToc profiling.

Definition at line 70 of file debug.h.


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