MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Paused

Method Paused

src/framerate_gui.cpp:302–306  ·  view source on GitHub ↗

* Indicate that a cycle of "pause" where no processing occurs. * @param elem The element not currently being processed */ static */

Source from the content-addressed store, hash-verified

300 * @param elem The element not currently being processed
301 */
302/* static */ void PerformanceMeasurer::Paused(PerformanceElement elem)
303{
304 PerformanceMeasurer::SetInactive(elem);
305 _pf_data[elem].AddPause(GetPerformanceTimer());
306}
307
308
309/**

Callers

nothing calls this directly

Calls 2

GetPerformanceTimerFunction · 0.85
AddPauseMethod · 0.80

Tested by

no test coverage detected