OpenTTD Source: src/newgrf_profiling.cpp File Reference

OpenTTD Source 15.0-RC2

Variables
newgrf_profiling.cpp File Reference

Profiling of NewGRF action 2 handling. More...

`#include "stdafx.h"`
`#include "newgrf_profiling.h"`
`#include "fileio_func.h"`
`#include "string_func.h"`
`#include "console_func.h"`
`#include "spritecache.h"`
`#include "3rdparty/fmt/chrono.h"`
`#include "timer/timer.h"`
`#include "timer/timer_game_tick.h"`
`#include <chrono>`
`#include "safeguards.h"`

Go to the source code of this file.

## Variables
std::vector< NewGRFProfiler > | _newgrf_profilers
static TimeoutTimer< TimerGameTick > | _profiling_finish_timeout ({ TimerGameTick::Priority::NONE, 0 }, []() { NewGRFProfiler::FinishAll();})
| Check whether profiling is active and should be finished.

## Detailed Description

Profiling of NewGRF action 2 handling.

Definition in file newgrf_profiling.cpp.

## Variable Documentation

## ◆ _newgrf_profilers

std::vector<NewGRFProfiler> _newgrf_profilers

Definition at line 25 of file newgrf_profiling.cpp.