DEADSOFTWARE

some statistics
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Fri, 18 Aug 2017 01:41:53 +0000 (04:41 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Fri, 18 Aug 2017 18:28:58 +0000 (21:28 +0300)
src/game/g_map.pas

index 36f59f012c2f2146e7abad79408f3187b8d19c47..c8d9f14b31f3cc352757d703b32bc996f61b659e 100644 (file)
@@ -1043,7 +1043,7 @@ begin
   addPanelsToGrid(gBlockMon, PANEL_BLOCKMON);
 
   gMapGrid.dumpStats();
-  //gMapSAP.dumpStats();
+  e_WriteLog(Format('tree depth: %d; %d nodes used, %d nodes allocated', [mapTree.computeTreeHeight, mapTree.nodeCount, mapTree.nodeAlloced]), MSG_NOTIFY);
 end;
 
 function g_Map_Load(Res: String): Boolean;