Open a graph window for a performance element */
| 990 | |
| 991 | /** Open a graph window for a performance element */ |
| 992 | void 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 */ |
| 999 | void ConPrintFramerate() |