private void PruneCache() { if (memoryInfoGraph != null) memoryInfoGraph.Dispose(); if (fpsInfoGraph != null) fpsInfoGraph.Dispose(); memoryInfoGraph = new MemoryInfoGraph(); fpsInfoGraph = new FpsInfoGraph(); frameHasConsoleLog.Clear(); frameSceneName.Clear(); }
private void InitSystemInfoGraph() { if (VerticalSliceDatabase.isInitialized && fpsInfoGraph == null) { memoryInfoGraph = new MemoryInfoGraph(); fpsInfoGraph = new FpsInfoGraph(); } }