From: Ketmar Dark Date: Fri, 18 Aug 2017 01:41:53 +0000 (+0300) Subject: some statistics X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=e604c9905feb1bef4a5e6e0ffb70e1c33b79d130;p=d2df-sdl.git some statistics --- diff --git a/src/game/g_map.pas b/src/game/g_map.pas index 36f59f0..c8d9f14 100644 --- a/src/game/g_map.pas +++ b/src/game/g_map.pas @@ -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;