mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-27 14:12:54 -04:00
memory manager cleanup and removal
This commit is contained in:
@@ -186,10 +186,6 @@ void CachedFileManager::preloadSomeAssets ()
|
||||
{
|
||||
unsigned long const startTime = Clock::timeMs ();
|
||||
|
||||
#if PRODUCTION == 0
|
||||
unsigned long const bytesBefore = MemoryManager::getCurrentNumberOfBytesAllocated();
|
||||
#endif
|
||||
|
||||
//-- preloading occurs in one second slices
|
||||
while (ms_filenamesCurrentPos < ms_filenamesLength && Clock::timeMs () - startTime < 1000)
|
||||
{
|
||||
@@ -229,8 +225,6 @@ void CachedFileManager::preloadSomeAssets ()
|
||||
#if PRODUCTION == 0
|
||||
unsigned long const stopTime = Clock::timeMs ();
|
||||
ms_totalTime += stopTime - startTime;
|
||||
|
||||
ms_totalAllocatedBytes += MemoryManager::getCurrentNumberOfBytesAllocated() - bytesBefore;
|
||||
#endif
|
||||
|
||||
if (donePreloading ())
|
||||
|
||||
Reference in New Issue
Block a user