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

Function ShowFrametimeGraphWindow

src/framerate_gui.cpp:992–996  ·  view source on GitHub ↗

Open a graph window for a performance element */

Source from the content-addressed store, hash-verified

990
991/** Open a graph window for a performance element */
992void ShowFrametimeGraphWindow(PerformanceElement elem)
993{
994 if (elem < PFE_FIRST || elem >= PFE_MAX) return; // maybe warn?
995 AllocateWindowDescFront<FrametimeGraphWindow>(_frametime_graph_window_desc, elem);
996}
997
998/** Print performance statistics to game console */
999void ConPrintFramerate()

Callers 1

OnClickMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected